Skip to content

Commit

Permalink
check approval
Browse files Browse the repository at this point in the history
  • Loading branch information
RensR committed Aug 6, 2024
1 parent a6a9776 commit 484f2f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/gas-snapshots/ccip.gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,8 @@ TokenAdminRegistry_setPool:test_setPool_Success() (gas: 35943)
TokenAdminRegistry_setPool:test_setPool_ZeroAddressRemovesPool_Success() (gas: 30617)
TokenAdminRegistry_transferAdminRole:test_transferAdminRole_OnlyAdministrator_Revert() (gas: 18043)
TokenAdminRegistry_transferAdminRole:test_transferAdminRole_Success() (gas: 49390)
TokenPoolAndProxy:test_lockOrBurn_burnMint_Success() (gas: 6136742)
TokenPoolAndProxy:test_lockOrBurn_lockRelease_Success() (gas: 6404463)
TokenPoolAndProxy:test_lockOrBurn_burnMint_Success() (gas: 6139245)
TokenPoolAndProxy:test_lockOrBurn_lockRelease_Success() (gas: 6406966)
TokenPoolAndProxyMigration:test_tokenPoolMigration_Success_1_2() (gas: 6984900)
TokenPoolAndProxyMigration:test_tokenPoolMigration_Success_1_4() (gas: 7168991)
TokenPoolWithAllowList_applyAllowListUpdates:test_AllowListNotEnabled_Revert() (gas: 2209837)
Expand Down
3 changes: 3 additions & 0 deletions contracts/src/v0.8/ccip/test/legacy/TokenPoolAndProxy.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,9 @@ contract TokenPoolAndProxy is EVM2EVMOnRampSetup {
vm.expectEmit(address(s_legacyPool));
emit Minted(address(s_pool), address(s_pool), amount);

vm.expectEmit(address(s_token));
emit IERC20.Approval(address(s_pool), address(s_fakeOffRamp), amount);

s_pool.releaseOrMint(
Pool.ReleaseOrMintInV1({
receiver: OWNER,
Expand Down

0 comments on commit 484f2f3

Please sign in to comment.