Closed mani99brar closed 3 days ago
The changes introduce a new smart contract, VeaInboxArbToEth
, deployed on the Arbitrum Sepolia testnet, along with its deployment details in a JSON file. Integration tests for the ArbToEth
contract are updated to reflect new epoch timing parameters. Additionally, several utility functions and configuration scripts in the validator-cli
and relayer-cli
projects are modified or added to support enhanced functionality for message relaying and monitoring. New environment variables are introduced for configuration, and existing files are updated to improve clarity and maintainability.
File Path | Change Summary |
---|---|
contracts/deployments/arbitrumSepolia/VeaInboxArbToEthTestnet.json |
New deployment file for VeaInboxArbToEth contract with address, ABI, and event details. |
contracts/test/integration/ArbToEth.ts |
Updated epoch and challenge periods; modified error messages and test assertions. |
validator-cli/package.json |
Updated @arbitrum/sdk dependency; added new script for Sepolia testnet. |
validator-cli/src/ArbToEth/watcherArbToEth.ts |
Revised watch function; updated provider methods and added new utility functions. |
validator-cli/src/utils/arbMsgExecutor.ts |
Introduced messageExecutor and getMessageStatus functions for processing messages. |
relayer-cli/package.json |
Added script for starting the testnet relayer. |
relayer-cli/src/devnetRelayExample.ts |
Introduced new start function; restructured initialization logic. |
relayer-cli/src/utils/ethers.ts |
Updated factory imports and function signatures for Vea inbox and outbox connections. |
relayer-cli/src/utils/relay.ts |
Enhanced relaying functions for dynamic batching and error handling. |
relayer-cli/src/utils/relayerHelpers.ts |
Added ShutdownManager class; updated initialize and updateStateFile functions. |
validator-cli/.env.dist |
Added new RPC endpoints and address variables for testnet configurations. |
relayer-cli/.env.dist |
Introduced DEVNET_SENDER and VEAOUTBOX_CHAIN_ID environment variables. |
relayer-cli/src/consts/bridgeRoutes.ts |
Updated IBridge interface; added new getter functions for epoch period and bridge config. |
relayer-cli/src/state/11155111.json |
Deleted file containing timestamp and nonce data. |
relayer-cli/src/testnetRelayer.ts |
New file with start function for managing message relaying on test network. |
contracts/test/integration/ArbToEth.ts
involve updates to the EPOCH_PERIOD
and CHALLENGE_PERIOD
, which are relevant to the epoch-related functions in the VeaInboxArbToEth
contract introduced in the main PR.VeaInboxArbToGnosis
contract in this PR includes similar functions and events as those in the VeaInboxArbToEth
contract, such as sendMessage
, saveSnapshot
, and sendSnapshot
, indicating a related focus on cross-chain messaging functionality.Package: Contracts
🐰 In the meadow, contracts bloom,
With messages sent, dispelling the gloom.
Epochs and snapshots, all in a dance,
On Sepolia's testnet, they take their chance.
With each relay, a new tale to weave,
In the world of code, we believe! 🌼
Name | Link |
---|---|
Latest commit | 63c93b0cfd1e6b77ac9cd2ab2ec5baf7f25b5c7f |
Latest deploy log | https://app.netlify.com/sites/veascan/deploys/670e4cd62d41ba0008510090 |
Deploy Preview | https://deploy-preview-344--veascan.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | da4383ce39e6348de8dc9b3f12d222b09cd487ac |
Latest deploy log | https://app.netlify.com/sites/veascan/deploys/6746a92f4bab880008702a3b |
Deploy Preview | https://deploy-preview-344--veascan.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@coderabbitai summary
Issues
16 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.6% Duplication on New Code
PR-Codex overview
This PR introduces significant updates to the
relayer-cli
andvalidator-cli
projects, enhancing functionality for both devnet and testnet operations. It adds new scripts, improves state management, and updates dependencies, particularly focusing on bridging and message relaying capabilities.Detailed summary
start-testnet-relayer
script torelayer-cli/package.json
.DEVNET_SENDER
andVEAOUTBOX_CHAIN_ID
to.env.dist
.relayer-cli/src/testnetRelayer.ts
for testnet operations.@arbitrum/sdk
dependency to version4.0.1
.bridgeRoutes.ts
to include epoch management.getVeaInbox
andgetVeaOutbox
functions for better chain handling.validator-cli/src/utils/arbMsgExecutor.ts
.relayer-cli/src/utils/relay.ts
.contracts/test/integration/ArbToEth.ts
for better coverage.watcherArbToEth.ts
to improve claim monitoring and dispute resolution.Summary by CodeRabbit
New Features
VeaInboxArbToEth
on the Arbitrum Sepolia testnet.ShutdownManager
class to manage shutdown states in the relayer.Bug Fixes
Documentation
Chores