bgd-labs / aave-proposals

Utilities and examples for Aave governance proposals
MIT License
26 stars 30 forks source link

Error on `make test` #35

Open eboadom opened 1 year ago

eboadom commented 1 year ago

Without checking in-depth, seems related to Optimism and Arbitrum, most probably something on the nodes (lack of archive?), as they tests should just work, being pinned to an specific block.

Running 2 tests for src/test/polygon/AaveV3PolJEURAGEURFreeze.t.sol:AaveV3PolJEURAGEURFreeze
[PASS] testAGEUR() (gas: 6430089)
[PASS] testJEUR() (gas: 6428800)
Test result: ok. 2 passed; 0 failed; finished in 1.12s
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
mThe application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rs:285

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rsmake: *** [test] Abort trap: 6
theonee787 commented 1 year ago

Without checking in-depth, seems related to Optimism and Arbitrum, most probably something on the nodes (lack of archive?), as they tests should just work, being pinned to an specific block.

Running 2 tests for src/test/polygon/AaveV3PolJEURAGEURFreeze.t.sol:AaveV3PolJEURAGEURFreeze
[PASS] testAGEUR() (gas: 6430089)
[PASS] testJEUR() (gas: 6428800)
Test result: ok. 2 passed; 0 failed; finished in 1.12s
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:34.988426Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0x5615deb798bb3e4dfa0139dfa1b3d433cc23b72f
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
2023-01-23T08:51:35.324122Z ERROR sharedbackend: Failed to send/recv `basic` err=GetAccount(0xa4b000000000000000000073657175656e636572, 
(code: -32000, message: missing trie node 1685b1f5f0bfc031f3e5824640ca411c372e0baf34d31f221d58551092a70fd3 (path ) <nil>, data: None)) address=0xa4b000000000000000000073657175656e636572
mThe application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rs:285

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-2.3.1/src/evm_impl.rsmake: *** [test] Abort trap: 6

Details