delvtech / pypechain

Static Python bindings for Ethereum smart contracts.
Apache License 2.0
9 stars 2 forks source link

Incorrect bytecode from cache when no change to abi but change to bytecode #106

Closed slundqui closed 8 months ago

slundqui commented 8 months ago

When only the bytecode contract gets updated and not the abi signature, the bytecode field in the resulted generated file is incorrect due to caching. This makes the bytecode field in the generated file outdated, and also breaks using the deploy function from the generated contracts.

slundqui commented 8 months ago

Not an issue, user error due to having old abis in dir