-
Notifications
You must be signed in to change notification settings - Fork 176
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
feat: adding Oasis Sapphire and Oasis Sapphire Testnet support #589
feat: adding Oasis Sapphire and Oasis Sapphire Testnet support #589
Conversation
@ElvisKrop I can't check the contracts in the following blockexplorer https://explorer.sapphire.oasis.io/address/0xfb1bffC9d739B8D520DaF37dF666da4C687191EA/transactions |
Hello @moisses89! Sorry for the delay, I was communicating with Oasis team to get some insights about this weird behaviour. However, you can explore safe-singleton-factory transactions. There are exactly 10 transactions for contract creations:
(note the reverse order of displayed transactions) Moreover, you can get the code from the RPC node directly using next request:
The result is the same if you will perform the same request to the Polygon RPC node (https://polygon-rpc.com). |
a24248a
to
cb44ee0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review the blocks, should be the block where the contract was created.
gnosis/safe/addresses.py
Outdated
@@ -522,6 +522,14 @@ | |||
("0xfb1bffC9d739B8D520DaF37dF666da4C687191EA", 1511, "1.3.0+L2"), | |||
("0x69f4D1788e39c87893C980c06EdF4b7f686e2938", 1512, "1.3.0"), | |||
], | |||
EthereumNetwork.OASIS_SAPPHIRE: [ | |||
("0xfb1bffC9d739B8D520DaF37dF666da4C687191EA", 330092, "1.3.0+L2"), | |||
("0x69f4D1788e39c87893C980c06EdF4b7f686e2938", 330094, "1.3.0"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ElvisKrop thanks for your explanation here #589 (comment) My concern is not the code, because it was validated on safe-deployments PR, my concern is when was created, taking a look to your picture seems that the blocks that are harcoded here are incorrect, this block should be the creation block. I'd suggest 325640 and 325643.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omg, sorry for that...
I was focused on the wrong topic 😅 haha
thanks for pointing! I'll update them shortly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@moisses89
✔️ blocks for oasis sapphire mainnet contracts are updated
✔️ I can confirm that block for testnet match the creation blocks of each contract too
✔️ PR branch is rebased
Hopefully, it is the final re-request for review 😄
Thank you!
cb44ee0
to
bde6aa0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Please add Oasis Sapphire and Oasis Sapphire Testnet addresses:
Thank you!