moonstream-to / moonworm

codegen for crypto degens and other ethereum smart contract toolkit for python
Apache License 2.0
36 stars 7 forks source link

"moonworm generate-brownie" does not deduplication argument names of method arguments with meta-arguments #82

Closed zomglings closed 2 years ago

zomglings commented 2 years ago

Example with block_number as a view method argument:

    def get_block_hash(
        self, block_number: int, block_number: Optional[Union[str, int]] = "latest"
    ) -> Any:
        self.assert_contract_is_instantiated()
        return self.contract.getBlockHash.call(
            block_number, block_identifier=block_number
        )
Yhtiyar commented 2 years ago

closed in #86