You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: