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

Deploying does not result in correct addresses #925

Open
kitanovicd opened this issue Mar 12, 2025 · 1 comment
Open

Deploying does not result in correct addresses #925

kitanovicd opened this issue Mar 12, 2025 · 1 comment

Comments

@kitanovicd
Copy link

Description

I deployed set of Safe contracts on Bittensor EVM (chain id 964) using the instructions on this link: https://docs.safe.global/core-api/safe-contracts-deployment#singleton-contracts-deployment. I configured .env properly and run npm run deploy-all custom because Infura does not support this chain. At the end all contracts were properly deployed but addresses do not match the canonical ones which should not be the case because I am using factory that is in the registry. Here is the output that I am getting during deployment:

deploying "SimulateTxAccessor" (tx: 0x291a3b01002c9ef1f0f23a20ce325868c1939aaa09d3c771ea3f5aff5bc489a7)...: deployed at 0x07EfA797c55B5DdE3698d876b277aBb6B893654C with 237931 gas
deploying "SafeProxyFactory" (tx: 0xba0b95d3adf9932df33a6c9f6c77a5efecdb0716179388f324a91bd0484e815e)...: deployed at 0xB0137947F6940C76F1C39a21cAaBb52Cd2509069 with 984061 gas
deploying "TokenCallbackHandler" (tx: 0x79e722b6e3305f017197adefd15a728165bcb9598660e34bb927c33c8288be46)...: deployed at 0x6Fe1aCEb024F6a914bFdca91637A87b5a614B2a0 with 453406 gas
deploying "CompatibilityFallbackHandler" (tx: 0xe104d4ca56ec86e579191a87a0e7132ada86e8fcb6e88634acb6215eff78bdc2)...: deployed at 0x10D766631c395AC6B2b9aEFcC7B2b9451076a478 with 1066682 gas
deploying "ExtensibleFallbackHandler" (tx: 0x9f6ce3e22da7de41185f7433b4deefe0dcc084555ea03ba44a49f82c4259dea8)...: deployed at 0x61e6Ba7304169696C37f215618FF4B0505563F26 with 2648470 gas
deploying "CreateCall" (tx: 0xff05dc01fbd691c41797b94ad35f66a85be5f89d57279950047a5afa49e0b142)...: deployed at 0x2Ef5ECfbea521449E4De05EDB1ce63B75eDA90B4 with 290470 gas
deploying "MultiSend" (tx: 0xa4b230e04151fa556a6b648d30e7703e6c6b0babbe834e6c92e51db37e08420f)...: deployed at 0x218543288004CD07832472D464648173c77D7eB7 with 192464 gas
deploying "MultiSendCallOnly" (tx: 0x3e3221b8b56d6478ef93f611f23166332008573a1220d11208cc71a8d5245661)...: deployed at 0x3EbB62B65423a33a846416ff7Ce9BE6f9b86b3B4 with 144546 gas
deploying "SignMessageLib" (tx: 0x8a8063087ebd80ca38df849bdd9253dd8559fbc93d6e5242db43696062ac6a70)...: deployed at 0x8091543700ba305e0184f1ED561D8B08fb427Fe8 with 262417 gas
deploying "SafeToL2Setup" (tx: 0x9fe51731ded80bed6ffd11fb000d61394352fa4e165f2536896835c799b55adc)...: deployed at 0x5941bAEf7a31933bF00B7f5Cc0Ae6abc6E41e3f0 with 230863 gas
deploying "Safe" (tx: 0x3eed85872681f165104ed5d6bc487e5cecab4f5fa3bc82685fcefa5993dc1043)...: deployed at 0x4e37014997ECdE3dBA7c122521C8e5D8B896C547 with 4717235 gas
deploying "SafeL2" (tx: 0xc9cd0667e0545a1a09b99f9ad7e278673f0cdd31882bf03b8703e8e9093d8fb0)...: deployed at 0x5C781122cB35ADdd74625A096BD10833B72EDDd3 with 4886260 gas
deploying "SafeToL2Migration" (tx: 0x36cc0466c0516a5e640bffa40a8a782b373a4b24ba6f509fdcc97c9ede28bd94)...: deployed at 0x6fd9125c49dB0C8595C963eC736c8aB1865b6918 with 1282646 gas
deploying "SafeMigration" (tx: 0x37d9c6f177a9f2e16bd4fb0a435f1822c5c9b2ea7a6dfd5aa05889065ea4a3ef)...: deployed at 0x9915c3Fa6b474460DAad5a56DE04a6D14E8A366F with 512882 gas

After inspecting each transaction on block explorer I can see that contract call is sent to the proper factory but I don't see any deployment being done.

Environment

  • Compiler version: solc 0.7.6
  • Compiler options (if applicable, e.g. optimizer enabled): /
  • Framework/IDE (e.g. Truffle or Remix): /
  • EVM execution environment / backend / blockchain client:
  • Operating system: MacOS

Steps to reproduce

In order to reproduce you can close the repository, install singleton factory as dependency. Add this as NODE_URL: https://lite.chain.opentensor.ai and run deployment.

@mmv08
Copy link
Member

mmv08 commented Mar 12, 2025

which commit did you use? make sure you're using the correct tag

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

2 participants