Skip to content

Commit

Permalink
Update test cases for CCIP Read fix (#2478).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Mar 16, 2022
1 parent dca0d14 commit 905e98a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tests/src.ts/test-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ describe("Test CCIP execution", function() {
this.timeout(60000);
const data = "0x1234";
const result = await contract.testGet(data, { ccipReadEnabled: true });
verify(ethers.constants.AddressZero, data, result);
verify(address, data, result);
});

it("testGet should fail with CCIP not explicitly enabled by overrides", async function() {
Expand Down Expand Up @@ -1534,14 +1534,14 @@ describe("Test CCIP execution", function() {
this.timeout(60000);
const data = "0x123456";
const result = await contract.testGetFallback(data, { ccipReadEnabled: true });
verify(ethers.constants.AddressZero, data, result);
verify(address, data, result);
});

it("testPost passes under normal operation", async function() {
this.timeout(60000);
const data = "0x1234";
const result = await contract.testPost(data, { ccipReadEnabled: true });
verify(ethers.constants.AddressZero, data, result);
verify(address, data, result);
});

})

0 comments on commit 905e98a

Please sign in to comment.