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
And then the address of deployed contract would be registered into Exocore chain native module to be valid sender that forward requests from LayerZero endpoint to native modules. As the contract address of ExocoreGatway needs to be authorized, we'd better have a predetermined address so that we could hardcode it in the genesis of Exocore mainnet and thus no need to register it anymore.
The text was updated successfully, but these errors were encountered:
We can use always_use_create_2_factory, like I had mentioned previously. A default factory will need to be deployed and then used. We can set that factory up within the genesis if needed.
Sure, I see some EVM-compatible chains like ethereum L2s have system contracts like multi-call or create2 factory, maybe we could follow the same design and take it as system contract(pure contract with unique and dedicated address)
* rebase main branch code
* rebase main branch code
* rebase main branch code
* add testcase and updatesome code
* add comments
* rebase main branch code
* update genesis
* update btc contract and test case
* add testcase
* update testcase
* rebase to main branch
* rebase main branch and refactor with consensus logic
* add test case
* update testcase
* remove unnecessary delegator/withdrawer parameters on exocoregateway contract
* rename btcTxHash to btcTxTag
* update event
* update test script
* update some types from bytes32 to bytes
* update event type
* optimize the test script
* add read pegoutrequests and setStatus interface for withdraw request
* fix unit test error
* fix unit test error
* remove console log
* add comment for the storage code
* optimize some logic for btc-gateway
* update comment (#5)
* formate code
Description
Currently,
ExocoreGatway
is deployed in an ordinary manner:And then the address of deployed contract would be registered into Exocore chain native module to be valid sender that forward requests from LayerZero endpoint to native modules. As the contract address of
ExocoreGatway
needs to be authorized, we'd better have a predetermined address so that we could hardcode it in the genesis of Exocore mainnet and thus no need to register it anymore.The text was updated successfully, but these errors were encountered: