Skip to content

Commit 98d3d0c

Browse files
authored
bump versions and wrappers for 1.6.2 release (#1118)
* bump versions and regen wrappers for 1.6.2 release * CI fix * remove junk files * re-add erroneously deleted files * forge fmt * attempt undo file changes * update 1_6_2 folder to actually latest versions * add forgotten file * add forgotten hybrid pool wrappers to 1_6_2 release
1 parent 332999c commit 98d3d0c

File tree

16 files changed

+9883
-20
lines changed

16 files changed

+9883
-20
lines changed

chains/evm/.gas-snapshot

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ CCIPHome_promoteCandidateAndRevokeActive:test_promoteCandidateAndRevokeActive_mu
3535
CCIPHome_revokeCandidate:test_revokeCandidate() (gas: 31319)
3636
CCIPHome_setCandidate:test_setCandidate() (gas: 1367609)
3737
CCIPHome_supportsInterface:test_supportsInterface() (gas: 9924)
38-
CCTPMessageTransmitterProxy_configureAllowedCallers:test_configureAllowedCallers() (gas: 66236)
39-
CCTPMessageTransmitterProxy_getAllowedCallers:test_configureAllowedCallers() (gas: 75915)
40-
CCTPMessageTransmitterProxy_getCCTPTransmitter:test_getCCTPTransmitter() (gas: 10877)
41-
CCTPMessageTransmitterProxy_receiveMesssage:test_receiveMesssage() (gas: 31878)
38+
CCTPMessageTransmitterProxy_configureAllowedCallers:test_configureAllowedCallers() (gas: 66306)
39+
CCTPMessageTransmitterProxy_getAllowedCallers:test_configureAllowedCallers() (gas: 75959)
40+
CCTPMessageTransmitterProxy_getCCTPTransmitter:test_getCCTPTransmitter() (gas: 10899)
41+
CCTPMessageTransmitterProxy_receiveMesssage:test_receiveMesssage() (gas: 31922)
4242
DefensiveExampleTest:test_HappyPath() (gas: 204120)
4343
DefensiveExampleTest:test_Recovery() (gas: 429488)
4444
DonIDClaimerTest:test_ClaimMultipleDONIds() (gas: 46084)
@@ -207,7 +207,7 @@ HybridLockReleaseUSDCTokenPool_lockOrBurn:test_PrimaryMechanism() (gas: 137474)
207207
HybridLockReleaseUSDCTokenPool_lockOrBurn:test_onLockReleaseMechanism() (gas: 144762)
208208
HybridLockReleaseUSDCTokenPool_lockOrBurn:test_onLockReleaseMechanism_thenSwitchToPrimary() (gas: 215602)
209209
HybridLockReleaseUSDCTokenPool_releaseOrMint:test_OnLockReleaseMechanism() (gas: 212909)
210-
HybridLockReleaseUSDCTokenPool_releaseOrMint:test_incomingMessageWithPrimaryMechanism() (gas: 270764)
210+
HybridLockReleaseUSDCTokenPool_releaseOrMint:test_incomingMessageWithPrimaryMechanism() (gas: 270781)
211211
HybridLockReleaseUSDCTokenPool_releaseOrMint_E2ETest:test_releaseOrMint_E2E() (gas: 385907)
212212
Internal_ChainFamilySelectors:test_ChainFamilySelectors_CorrectValues() (gas: 4788)
213213
Internal_validate32ByteAddress:test_validate32ByteAddress_BoundaryMinValue() (gas: 533)
@@ -493,18 +493,18 @@ USDCBridgeMigrator_provideLiquidity:test_lockOrBurn_then_BurnInCCTPMigration() (
493493
USDCBridgeMigrator_provideLiquidity:test_onLockReleaseMechanism() (gas: 144784)
494494
USDCBridgeMigrator_provideLiquidity:test_onLockReleaseMechanism_thenSwitchToPrimary() (gas: 215620)
495495
USDCBridgeMigrator_releaseOrMint:test_OnLockReleaseMechanism() (gas: 213071)
496-
USDCBridgeMigrator_releaseOrMint:test_incomingMessageWithPrimaryMechanism() (gas: 270764)
496+
USDCBridgeMigrator_releaseOrMint:test_incomingMessageWithPrimaryMechanism() (gas: 270781)
497497
USDCBridgeMigrator_releaseOrMint:test_unstickManualTxAfterMigration_destChain() (gas: 149478)
498-
USDCBridgeMigrator_releaseOrMint:test_unstickManualTxAfterMigration_homeChain() (gas: 524937)
498+
USDCBridgeMigrator_releaseOrMint:test_unstickManualTxAfterMigration_homeChain() (gas: 524955)
499499
USDCBridgeMigrator_updateChainSelectorMechanism:test_PrimaryMechanism() (gas: 137527)
500500
USDCBridgeMigrator_updateChainSelectorMechanism:test_lockOrBurn_then_BurnInCCTPMigration() (gas: 317425)
501501
USDCBridgeMigrator_updateChainSelectorMechanism:test_onLockReleaseMechanism() (gas: 144784)
502502
USDCBridgeMigrator_updateChainSelectorMechanism:test_onLockReleaseMechanism_thenSwitchToPrimary() (gas: 215620)
503503
USDCBridgeMigrator_withdrawLiquidity:test_withdrawLiquidity_Success() (gas: 31533)
504-
USDCTokenPool_constructor:test_constructor() (gas: 3342996)
505-
USDCTokenPool_constructor:test_constructor_PreviousPoolZeroAddress() (gas: 3341608)
504+
USDCTokenPool_constructor:test_constructor() (gas: 3342218)
505+
USDCTokenPool_constructor:test_constructor_PreviousPoolZeroAddress() (gas: 3340830)
506506
USDCTokenPool_lockOrBurn:test_LockOrBurn() (gas: 134623)
507507
USDCTokenPool_lockOrBurn:test_LockOrBurn_MintRecipientOverride() (gas: 163008)
508-
USDCTokenPool_releaseOrMint:test_ReleaseOrMintRealTx() (gas: 270476)
508+
USDCTokenPool_releaseOrMint:test_ReleaseOrMintRealTx() (gas: 270494)
509509
USDCTokenPool_releaseOrMint:test_ReleaseOrMint_PreviousPool() (gas: 223853)
510510
USDCTokenPool_supportsInterface:test_SupportsInterface() (gas: 9990)

chains/evm/contracts/pools/USDC/CCTPMessageTransmitterProxy.sol

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import {IMessageTransmitter} from "./interfaces/IMessageTransmitter.sol";
55
import {ITokenMessenger} from "./interfaces/ITokenMessenger.sol";
66

77
import {Ownable2StepMsgSender} from "@chainlink/contracts/src/v0.8/shared/access/Ownable2StepMsgSender.sol";
8-
8+
import {ITypeAndVersion} from "@chainlink/contracts/src/v0.8/shared/interfaces/ITypeAndVersion.sol";
99
import {EnumerableSet} from
1010
"@chainlink/contracts/src/v0.8/vendor/openzeppelin-solidity/v5.0.2/contracts/utils/structs/EnumerableSet.sol";
1111

1212
/// @title CCTP Message Transmitter Proxy
1313
/// @notice A proxy contract for handling messages transmitted via the Cross Chain Transfer Protocol (CCTP).
1414
/// @dev This contract is responsible for sending messages to the `IMessageTransmitter` and ensuring only allowed callers can invoke it.
15-
contract CCTPMessageTransmitterProxy is Ownable2StepMsgSender {
15+
contract CCTPMessageTransmitterProxy is Ownable2StepMsgSender, ITypeAndVersion {
1616
using EnumerableSet for EnumerableSet.AddressSet;
1717

1818
/// @notice Error thrown when a function is called by an unauthorized address.
@@ -23,6 +23,8 @@ contract CCTPMessageTransmitterProxy is Ownable2StepMsgSender {
2323
/// @notice Emitted when an allowed caller is removed.
2424
event AllowedCallerRemoved(address indexed caller);
2525

26+
string public constant override typeAndVersion = "CCTPMessageTransmitterProxy 1.6.2";
27+
2628
struct AllowedCallerConfigArgs {
2729
address caller;
2830
bool allowed;

chains/evm/contracts/pools/USDC/USDCTokenPool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ contract USDCTokenPool is TokenPool, ITypeAndVersion {
6060
uint32 sourceDomain;
6161
}
6262

63-
string public constant override typeAndVersion = "USDCTokenPool 1.6.2-dev";
63+
string public constant override typeAndVersion = "USDCTokenPool 1.6.2";
6464

6565
// We restrict to the first version. New pool may be required for subsequent versions.
6666
uint32 public constant SUPPORTED_USDC_VERSION = 0;

chains/evm/gobindings/generated/latest/cctp_message_transmitter_proxy/cctp_message_transmitter_proxy.go

Lines changed: 26 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chains/evm/gobindings/generated/latest/hybrid_lock_release_usdc_token_pool/hybrid_lock_release_usdc_token_pool.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chains/evm/gobindings/generated/latest/usdc_token_pool/usdc_token_pool.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)