Skip to content

Commit

Permalink
test: update test with bigger interval file
Browse files Browse the repository at this point in the history
  • Loading branch information
lean-apple committed Oct 5, 2024
1 parent a7b3ccc commit 11a3129
Show file tree
Hide file tree
Showing 2 changed files with 85,139 additions and 50,333 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,16 @@ mod tests {
// Test case for verifying the merkle tree rewards data
// from the rewards file posted on chain
// The file link can be found in the calldata of
// this transaction https://etherscan.io/tx/0x65f13788cfbbe495f8a0a8ab1e7aa48a126bb178fff316d1d74c55c4e1297ac2#eventlog
// this transaction https://etherscan.io/tx/0x8ee9f4ad6944b45758523fe59b79352fd3f497aee5089ad16bb4355f49a002d5
// or in the MintedAndBridgedRewards event data https://etherscan.io/tx/0x8ee9f4ad6944b45758523fe59b79352fd3f497aee5089ad16bb4355f49a002d5#eventlog
#[test]
fn test_verify_merkle_tree_rewards_ok_big_interval_mainnet() {
let rt = Runtime::new().unwrap();

let mainnet_rpc_url = "https://ethereum-rpc.publicnode.com";

let mut test_file_path = get_base_path();
test_file_path.push("src/tests/rewards-files/rewards_280402_314800.json");
test_file_path.push("src/tests/rewards-files/rewards_280402_315550.json");

rt.block_on(async {
let result = verify_merkle_tree_rewards(
Expand Down
Loading

0 comments on commit 11a3129

Please sign in to comment.