v0.0.33
What's Changed
- feat(repo) Repo Stub packages by @chrismaree in #1
- feat(contracts): Add contracts stub by @chrismaree in #2
- feat(contracts): Add initial LP functionality by @chrismaree in #4
- feat(contracts): Add LP logic by @chrismaree in #6
- Add LICENSE by @mrice32 in #7
- feat: Implement deposit functionality by @nicholaspai in #5
- feat: add a first draft of the proof library by @mrice32 in #8
- feat(github-actions): Add hardhat test to CI by @chrismaree in #11
- feat(github-actions): Add Linter to CI by @chrismaree in #12
- feat(hubpool): Add Initial initiateRelayerRefund implementation by @chrismaree in #10
- feat(HubPool): Second iteration on init, dispute and execute relayer refund bundles by @chrismaree in #13
- feat: relay logic by @nicholaspai in #9
- feat: add MerkleLib tests by @mrice32 in #15
- improve: move all tests to hardhat fixtures by @mrice32 in #17
- improve: minor refactoring to formatting by @mrice32 in #16
- feat: hubpool third iteration. Add dispute logic and refine bitmap structure. by @chrismaree in #14
- improve: Destructure RelayData params in FilledRelay event by @nicholaspai in #18
- feat(HubPool): Add initial L1->L2 call plumbing by @chrismaree in #19
- feat: Implement _initiateRelayerRefund and begin Optimism-specific SpokePool by @nicholaspai in #20
- feat: add release process via github actions by @mrice32 in #22
- feat: Initial fees tracking implementation by @chrismaree in #21
- improve: Allow filled amount to be 0 to empower slow relayers by @nicholaspai in #25
- feat(spoke-pool): Allow relayer and depositor to agree to update relay fee by @nicholaspai in #27
- feat(spoke-pool): Distribute relayer refund by @nicholaspai in #24
- feat(hubPool): Add sync method and liquidity utilization by @chrismaree in #26
- Test Optimism adapters by @chrismaree in #29
- chrismaree/arbitrum l1 adapter by @chrismaree in #30
- feat: add slow relay functionality by @mrice32 in #28
- feat(spoke-pool): Reduce size of state variables by @nicholaspai in #32
- feat (hubpool): Add protocol fee capture method by @chrismaree in #31
- Add weth support for Optimism Spoke pool. by @chrismaree in #34
- feat: Add Arbitrum Spokepool and add generic cross-chain admin relayer function on HubPool by @nicholaspai in #33
- feat(spoke-pool): change chainId to type uint256 by @nicholaspai in #35
- Ethereum Spoke Pool by @chrismaree in #36
- Test Arbitrum_SpokePool by @chrismaree in #39
- feat(hub-pool): Reduce size of state vars by @nicholaspai in #38
- improve: rename merkle root related variables and function names by @nicholaspai in #40
- improve(spoke-pool): Move some logic to internal virtual methods to support other evms by @nicholaspai in #41
- feat: Optimism deployment scripts by @chrismaree in #43
- feat: todos on HubPool setters by @mrice32 in #46
- initial version of gas analysis script by @nicholaspai in #37
- fix: fix dispute logic to handle failures and final fee changes by @mrice32 in #47
- fix: take bond into account when syncing by @mrice32 in #50
- fix(HubPool): Whitelisting route on L2 uses incorrect params by @nicholaspai in #48
- feat: update gas estimation script by @mrice32 in #51
- fix(optimism-spokepool): Need to wrap ETH before distributing any WETH to recipients by @nicholaspai in #49
- Refactor SpokePool inheritance structure by @mrice32 in #53
- Finish most remaining TODOs by @mrice32 in #54
- Add polygon adapters/spoke pool by @mrice32 in #57
- feat(spoke-pool): Add speedUpDeposit method by @nicholaspai in #56
- Call adapters using delegatecall to save gas by @mrice32 in #52
- Add origin chain id to whitelisted route mapping by @mrice32 in #58
- feat(ethereum-spokepool): add unit tests by @nicholaspai in #55
- feat(documentation): Add NatSpec comments to contracts by @nicholaspai in #59
- Smock tests spoke pools optimism by @chrismaree in #44
- feat: add arbitrum-rinkeby deployments by @chrismaree in #60
- fix: Clean up tests by @chrismaree in #63
- improve: [L06] Public functions making external contract calls should guard against reentrancy by @nicholaspai in #62
- improve: Change pool rebalance leaf count type to uint8 by @nicholaspai in #64
- changes for npm release by @chrismaree in #70
- update events after internal chat by @chrismaree in #67
- feat: Add gas analysis scripts for SpokePool methods by @nicholaspai in #61
- feat: Make token bridge programmable per tokens by @nicholaspai in #65
- improve(spoke-pool): Slow relay execution should emit FillRelay event by @nicholaspai in #69
- fix(optimism-adapter): handle custom bridges by @chrismaree in #68
- improve: Add ability to unwhitelist a route by @nicholaspai in #66
- improve: Add isSlowRelay param to FilledRelay event by @nicholaspai in #75
- fix: Check if spoke pool is initialized before executing root bundle by @nicholaspai in #76
- improve: Update ethereum package versions by @nicholaspai in #72
- feat: make slow relay refund the user realyerFeePct by @chrismaree in #77
- improve(buildSampleTree): Make script more customizable by @nicholaspai in #71
- build for release, including exporting artefacts and fixtures by @chrismaree in #74
- feat: add additional helpers used in relayer tests by @chrismaree in #80
- feat: [N14] add emergency admin functions by @mrice32 in #78
- feat: [L01] make chainID virtual by @chrismaree in #82
- Spread props in executeRootBundle to improve etherscan compatibility by @chrismaree in #81
- fix: [C01, M01] Remove EIP-191 signature recovery support and add destination chain ID to relay data by @nicholaspai in #79
- fix: add separate import path for test utilities by @mrice32 in #83
- feat: Further helper update by @chrismaree in #86
- improve: Simplify ancillary data by @nicholaspai in #84
- improve: [L02] validate function inputs by @nicholaspai in #91
- improve: [L08] Add comment about shutting down contract before uint32 timestamps roll over in year 2106 by @nicholaspai in #95
- fix: [L05] Enabling token for Liquidity provisioning should not reset lastLpFeeUpdate by @nicholaspai in #94
- fix(hub-pool): Enable data worker to ensure that roots are not redundantly relayed to SpokePools by @nicholaspai in #85
- feat: [N01] Add source for _executeCall implementation by @nicholaspai in #97
- feat: add polygon deployment scripts and goerli/mumbai deployments by @mrice32 in #106
- fix: [L02] Re-add checks that adapter is not 0x0 by @nicholaspai in #113
- refactor: [M04/L03/N16] whitelistedRoutes should distinguish between enabled deposit and poolRebalance paths by @nicholaspai in #89
- fix: [M03] HubPool should send ETH to caller of removeLiquidity if they specify so by @nicholaspai in #90
- improve: [L07] Prevent unexpected proposal cancellations by constraining bond size by @nicholaspai in #96
- improve: [N07] Document that payable functions cannot be included in MultiCaller functions by @nicholaspai in #98
- fix: [N14] Remove unused Adapter events by @nicholaspai in #99
- improve: [L06] Add reentrancy guards to all public methods by @nicholaspai in #92
- fix[N10] Make better use of immutable by @chrismaree in #108
- fix[N11] Fix Residual privleged roles by @chrismaree in #109
- fix[N04] Add additional documentation by @chrismaree in #102
- fix[N15] Unnecessary import statements by @chrismaree in #112
- fix[N09] Warning about non-standard tokens by @chrismaree in #107
- fix[N13] Add more approval requirement comments by @chrismaree in #111
- fix[N12] Fix typographical errors by @chrismaree in #110
- fix[N03] Fixed inconsistant token metadata versioning by @chrismaree in #101
- fix[N05] Remove LPTokenFactory Magic numbers by @chrismaree in #103
- feat: Add stress tests to estimate max size of leafs that executed by functions with for-loops by @nicholaspai in #88
- fix[N02] Move all structs to the same place by @chrismaree in #100
- improve: Remove ancillary data helper function by @nicholaspai in #114
- fix[N06] Fix misleading comments by @chrismaree in #104
- fix[N08] Propose fixes to some naming issues by @chrismaree in #105
- fix[L04] Enforce chainId requirements in PolygonTokenBridger by @mrice32 in #115
- improve: Update solc version to 8.13 by @nicholaspai in #116
- improve: Updates to scripts after war-games testing on Optimism and Arbitrum testnet by @nicholaspai in #117
- improve(gas-golf): Minor gas tweaks by @nicholaspai in #73
- fix: Arbitrum Adapter needs to pay for L2 gas when relaying tokens by @nicholaspai in #120
- improve: address solhint warnings by @nicholaspai in #119
- feat: Added rate model store from across v1 by @chrismaree in #118
- build(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #125
- feat: release by @chrismaree in #122
- feat: export merkle lib helpers by @nicholaspai in #123
- improve: add rate model store on kovan by @mrice32 in #126
- build(deps): bump node-forge from 1.2.1 to 1.3.0 by @dependabot in #127
- improve: add goerli/mumbai deployments by @mrice32 in #124
New Contributors
- @chrismaree made their first contribution in #1
- @mrice32 made their first contribution in #7
- @nicholaspai made their first contribution in #5
- @dependabot made their first contribution in #125
Full Changelog: https://github.com/across-protocol/contracts-v2/commits/test