-
Notifications
You must be signed in to change notification settings - Fork 77
Forking at old block should be better tested #773
Copy link
Copy link
Labels
good first issueGood for newcomersGood for newcomerstestingRelated to code testingRelated to code testing
Description
Here's a scenario that should be tested:
- Imagine an origin with
nblocks - We fork from block
m < n - The storage of a contract state is changed at
m+1 < n - We assert that calling the contract in the fork with block_id = latest (or pending) returns the same as origin at
m(and not atm+1)
Make sure this isn't already tested in test_fork.rs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerstestingRelated to code testingRelated to code testing
Type
Projects
Status
✅ Done