Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with the deployment code in the constructor in the attacker contracts #1

Open
blessingblockchain opened this issue May 27, 2023 · 0 comments

Comments

@blessingblockchain
Copy link

The bytecode you provided seems to be incomplete and does not represent a valid contract creation code.

The bytecode for contract creation usually includes the compiled bytecode of the contract's constructor, which is appended to the compiled bytecode of the contract itself. However, in your code, the bytecode is only 60016000526001601fF3, which is insufficient for deploying a contract.

To resolve this issue, you need to provide the complete bytecode for the contract you want to deploy. This includes the contract's compiled bytecode as well as the constructor's bytecode, if any. You should update the bytecode variable in the constructor with the correct and complete bytecode for contract deployment.

Thank you @iczc

@blessingblockchain blessingblockchain changed the title Issue with the deployment code in the constructor. Issue with the deployment code in the constructor in the attacker contracts May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant