Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Wollac committed Oct 4, 2024
1 parent 89cb91a commit 41818fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/erc20-counter/contracts/test/Counter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ contract CounterTest is Test {

// mock the Journal
Counter.Journal memory journal = Counter.Journal({
commitment: Steel.Commitment(Encoding.encodeVersionedID(blockNumber, 0), blockHash),
commitment: Steel.Commitment(Encoding.encodeVersionedID(blockNumber, 0), blockHash, bytes32(0x0)),
tokenContract: address(token)
});
// create a mock proof
Expand All @@ -77,7 +77,7 @@ contract CounterTest is Test {

// mock the Journal
Counter.Journal memory journal = Counter.Journal({
commitment: Steel.Commitment(Encoding.encodeVersionedID(beaconTimestamp, 1), beaconRoot),
commitment: Steel.Commitment(Encoding.encodeVersionedID(beaconTimestamp, 1), beaconRoot, bytes32(0x0)),
tokenContract: address(token)
});
// create a mock proof
Expand Down

0 comments on commit 41818fb

Please sign in to comment.