BNB deployment #6
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is a known issue with the foundry breaking change in v1.0.0 that produces a different bytecode. This project's readme suggest using an old version, but this doesn't work on BNB:
As a workaround, suggested by @fedgiac, the contract was manually deployed by sending the same calldata used in previous deployments on other chains. The broadcast JSON was handcrafted.
Still can't verify the contract since bscscan still hasn't indexed it: https://bscscan.com/address/0x9585c3062Df1C247d5E373Cfca9167F7dC2b5963
While another explorer shows the bytecode: https://bsctrace.com/address/0x9585c3062df1c247d5e373cfca9167f7dc2b5963?tab=Contract&p=1
upd: 4 days later, the bscscan finally indexed the contract. verified it manually ✅