Releases: across-protocol/contracts
Releases · across-protocol/contracts
v3.0.18
What's Changed
- fix: hash message hash in relay hash by @Reinis-FRP in #778
- feat: add missing TokensBridged event when amount_to_return > 0 by @chrismaree in #784
- chore: Bump constants by @pxrl in #761
- fix(svm): linter issues by @md0x in #787
- fix(svm): random seed collision tests by @md0x in #788
- feat: add pause deposits script by @md0x in #781
- fix: scripts to rebalance funds from hub to spoke by @Reinis-FRP in #783
- feat: rebalance to hub pool script by @md0x in #786
- feat: improve event utils by @chrismaree in #789
- feat: update scripts by @chrismaree in #776
- fix: Add
--json
flag to checkStorageLayout'sforge inspect
command by @nicholaspai in #795 - chore: Bump constants by @pxrl in #796
- improve: Support testing chain adapters w/o token defs by @pxrl in #799
Full Changelog: v3.0.17...v3.0.18
v3.0.17
What's Changed
- refactor: Convert upgradeTo script to a hardhat task by @pxrl in #741
- fix(svm): fork cctp from mainnet by @Reinis-FRP in #749
- fix: C-01 Missing Access Control for
setDestinationSettler
by @bmzig in #733 - fix: M-08 Transfers of The Target Chain's Gas Token Will Fail by @bmzig in #739
- fix: M-07 Attempts to Bridge WETH Using
ZkStack_CustomGasToken_Adapter
Will Fail by @bmzig in #743 - fix: M-04 Some Contracts Might Not Work Properly with USDT Allowance by @bmzig in #734
- H-01 SpokePool's fill Function Performs Malformed Call by @bmzig in #744
- improve: L-01: Comment on
setCrossDomainAdmin
Edge Case by @bmzig in #729 - fix: L-02 Incorrect Casts by @bmzig in #736
- fix: M-05 Griefing Attacks Are Possible in ZK Adapters by @bmzig in #742
- fix: H-02 Forwarder and Withdrawal Helper Contracts do not Handle ETH Transfers by @bmzig in #725
- improve(OP): More generic OP chain adapter deployment by @pxrl in #714
- fix: Renumber OP adapter deployment script by @pxrl in #750
- fix: M-03 Types Incompatible With ERC-7683 by @bmzig in #746
- fix: M-06 Incorrect Parameters Passed to permitWitnessTransferFrom by @bmzig in #745
- improve: use immutable
SHARED_BRIDGE
whenever possible by @bmzig in #748 - fix: M-01
relayTokens
Calls Made by Forwarders May Fail by @bmzig in #664 - fix: N01-N14: Address Noncritical Issues by @bmzig in #728
- fix: delegated transfers in deposits by @Reinis-FRP in #752
- improve(SpokePool): _depositV3 interprets
exclusivityParameter
as an offset, or a timestamp by @nicholaspai in #670 - feat: handle EIP-2612 and EIP-3009 in
SwapAndBridge.sol
by @bmzig in #751 - fix: prevent any situation where SVM leaves could ever be used in EVM and viceversa by @chrismaree in #754
- fix(svm): across plus to solana by @Reinis-FRP in #747
- feat: consolidate spoke pool utility functions into a periphery contract by @bmzig in #758
- feat: redeploy arbitrum adapter by @bmzig in #757
- proposal: refine how we define PDA paths for some account types by @chrismaree in #753
- fix(svm): use borch serializer by @Reinis-FRP in #765
- feat: add determinstic deposit hash & new exclusivity logic by @chrismaree in #759
- feat: Add lib entry point comments and othe rust comments & cleaning by @chrismaree in #769
- fix: apply EmergencyDeletedRootBundle event change to rust only by @chrismaree in #774
- fix: further comment nits by @chrismaree in #773
- fix(svm): optional instruction params by @Reinis-FRP in #768
- feat: remote hub pool set deposit route script by @md0x in #780
- improve: secp256k1 version by @james-a-morris in #785
Full Changelog: v3.0.16...v3.0.17
v3.0.16
What's Changed
- Add minimal viable Anchor by @chrismaree in #602
- improve(Arbitrum_CustomGasToken_Adapter): Handle non-18 custom gas token precision by @nicholaspai in #589
- Add initial SVM-Spoke MVP from closed repo by @chrismaree in #611
- fix(svm): add missing constraints in svm spoke pool by @Reinis-FRP in #613
- fix(svm): override chain id in executing slow fill by @Reinis-FRP in #614
- refactor(svm-utils): split utility functions into separate files by @md0x in #612
- Add missing events and re-factor event location by @chrismaree in #615
- Improve events & make consistant with EVM by @chrismaree in #618
- feat(svm-routes): add additional param to block non-enabled routes by @md0x in #619
- build(deps): bump express from 4.19.2 to 4.21.0 by @dependabot in #608
- test: use address lookup table in max refund test by @Reinis-FRP in #620
- fix(CCTP): Typo UNINTIALIZED -> UNINITIALIZED by @pxrl in #622
- refactor: move all Arbitrum interfaces to a single location by @bmzig in #624
- feat: generic L2 forwarder base contract by @bmzig in #609
- feat: passthrough L1->L3 adapter to send messages to L3 via an L2 forwarder by @bmzig in #607
- fix: do not shrink root bundle account by @Reinis-FRP in #626
- feat: forwarders for AVM and OVM networks by @bmzig in #625
- test(svm-events): large log truncation by @md0x in #621
- fix: add init functions to forwarders by @bmzig in #630
- fix(svm): pass instruction data from prefilled account by @Reinis-FRP in #623
- feat: ZkStack Adapters by @mrice32 in #628
- feat: L3 withdrawal helpers by @bmzig in #605
- fix: svm ts issues by @md0x in #627
- fix: svm ts script issues & update to work with new interfaces by @chrismaree in #631
- feat(SpokePool): Introduce opt-in deterministic relay data hashes by @nicholaspai in #583
- improve: rename Spoke Pool's hubPool variable to withdrawalRecipient by @bmzig in #629
- improve: add tests for zkstack adapters by @bmzig in #635
- improve(tasks): Update deposit route script by @pxrl in #581
- feat: WorldChain deployments by @pxrl in #634
- feat: add updated implementation of ERC-7683 by @mrice32 in #632
- improve: minor natspec and inheritance improvements to ERC-7683 by @mrice32 in #637
- Revert "feat(SpokePool): Introduce opt-in deterministic relay data hashes (#583)" by @mrice32 in #638
- chore: redeploy all spoke pools with depositV3 upgrade by @bmzig in #640
- fix: Update readme with anchor build instructions by @chrismaree in #652
- fix: type roots config by @Reinis-FRP in #655
- feat: Add simple leaf testnet script & LUT closer script by @chrismaree in #651
- fix(svm): use cargo feature to set time in tests by @Reinis-FRP in #657
- feat: add todos from first code reading session by @md0x in #662
- feat: Basic SpokePool verification task by @pxrl in #582
- fix(svm): make svm spoke pool logic more consistent with evm by @Reinis-FRP in #654
- nit: Improve SVM tests and scripts by @chrismaree in #656
- fix(svm): use consistent imports by @Reinis-FRP in #667
- fix(svm): check invalid refund leaf by @Reinis-FRP in #673
- fix: separate refund claim when there is no token account by @Reinis-FRP in #633
- fix(svm): todos from the 2nd reading session by @Reinis-FRP in #677
- fix(svm): no transfer on self-relay by @Reinis-FRP in #678
- fix(svm): remove msg logs by @Reinis-FRP in #679
- fix(svm): use pubkey in origin token by @Reinis-FRP in #681
- feat(svm): relay root bundle event by @md0x in #683
- feat(svm): add emergency delete bundle by @md0x in #680
- fix(svm): close claim account manually by @Reinis-FRP in #686
- fix(svm): remove redundant mutables by @Reinis-FRP in #684
- test: multi-chain verifiable merkle tree by @md0x in #688
- fix(svm): remove redundant accounts by @Reinis-FRP in #689
- feat: move drift from svm-dev back into master by @chrismaree in #682
- refactor(svm): relayer refund leaf order by @md0x in #692
- fix(svm): root bundles over cctp by @Reinis-FRP in #687
- feat: token bridge cpi event by @md0x in #695
- fix: better seed usage and improve signer macro location by @chrismaree in #691
- feat: improve rust linting with prettier by @chrismaree in #693
- docs(svm): comment to explain setEnableRoute conversion by @md0x in #696
- fix(svm): consistent anchor token constraints by @Reinis-FRP in #694
- fix: remove vulnerable secp256k1 by @mrice32 in #685
- feat: hardhat task to test chain adapter token bridging by @pxrl in #669
- Improve shared state locations and other stylistic improvements by @chrismaree in #698
- test(svm): add cctp messages replay test by @md0x in #707
- fix(SpokePool): Enforce exclusivity consistently by @pxrl in #649
- fix(svm): instruction to create multiple token accounts by @Reinis-FRP in #709
- fix: rust linting by @Reinis-FRP in #703
- feat: show that we can create ATA in same transaction as fill by @chrismaree in #711
- feat: WIPs from code reading session 3 by @chrismaree in #708
- feat: hardhat task to test message relays and withdrawals by @bmzig in #574
- chore(SpokePool): Remove pre-v3 types and events by @pxrl in #663
- feat: improve how depositor ATA interactions work by @chrismaree in #710
- feat: depositNow by @chrismaree in #712
- Fix: remove two small console logs from tests by @chrismaree in #717
- fix(svm): use free function in handling cctp by @Reinis-FRP in #718
- fix: modify Arbitrum_CustomGasToken_Adapter for Aleph Zero by @bmzig in #699
- improve(ERC7683): Adjust for updated ERC specs by @nicholaspai in #705
- fix: separate instruction for deferred relayer refunds by @Reinis-FRP in #715
- feat(alephzero): launch contracts by @james-a-morris in #726
- improve(verifySpokePool): handling custom native tokens by @melisaguevara in #706
- chore(aleph-zero): bump to new contracts version by @james-a-morris in #730
- chore: Sync audit-latest for WorldChain USDC fixes by @pxrl in https://github.com/across-...
v3.0.15-beta.1
Full Changelog: v3.0.15...v3.0.15-beta.1
v3.0.12-beta.3
Full Changelog: v3.0.12-beta.2...v3.0.12-beta.3
v3.0.12-beta.2
What's Changed
- fix: Support OP bridged USDC in WorldChain adapter by @pxrl in #646
- fix: Use custom USDC bridge in WorldChain_SpokePool by @bmzig in #647
- chore: Add WorldChain adapter deployment by @pxrl in #658
- chore: update World Chain deployment info with new implementation by @bmzig in #659
Full Changelog: v3.0.11...v3.0.12-beta.2
v3.0.11
What's Changed
- refactor: Deployment script cleanup by @pxrl in #561
- improve(deploy): Change default l2 refund addresses by @nicholaspai in #586
- feat: redeploy spoke pools to support depositExclusive by @bmzig in #587
- build(deps): bump axios from 1.7.2 to 1.7.4 by @dependabot in #588
- feat(Arbitrum_Adapter): Support custom gas token by @nicholaspai in #585
- feat(SpokePool): Specify exclusivityDeadlineOffset by default by @nicholaspai in #584
- improve: Rename Arbitrum_CustomGasToken_Funder to DonationBox by @nicholaspai in #596
- improve(deployments): Update README with more instructions on proxy vs implementation addresses by @nicholaspai in #597
- improve: Add security contact for Arbitrum_CustomGasToken_Adapter by @nicholaspai in #601
- improve: Use explicit imports in Arbitrum_CustomGasToken_Adapter by @nicholaspai in #600
- improve(SpokePool): Add comment to depositV3() about breaking change to exclusivityDeadline parameter by @nicholaspai in #595
- improve(CustomGasTokens): Replace require with revert statements by @nicholaspai in #593
- improve(SpokePool): Remove redundant getCurrentTime() call by @nicholaspai in #594
- improve(Arbitrum_CustomGasToken_Funder): Add better comments about the withdraw() use case by @nicholaspai in #590
- improve: Improve natspec comments by @nicholaspai in #599
- improve(CustomGasTokens): Enhance comments by @nicholaspai in #592
- improve(SpokePool): deposit with message gas optimization by @nicholaspai in #603
Full Changelog: v3.0.10...v3.0.11