Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release protocol 1.5.0 #16837

Closed

Conversation

taiko-kitty
Copy link
Contributor

@taiko-kitty taiko-kitty commented Apr 25, 2024

🤖 I have created a release beep boop

1.5.0 (2024-04-25)

⚠ BREAKING CHANGES

  • protocol: improve signal service and remove ICrossChainSync (#15859)
  • protocol: re-implement multi-hop bridging with optional caching (#15761)

Features

  • protocol: add acceptOwnership method in deployOnL1 (#16103) (745d7d3)
  • protocol: add AuthorizeTaikoForMultihop script (#15888) (45aff8e)
  • protocol: add DeployTaikoToken script (#16771) (00f8954)
  • protocol: add lastSyncedBlockId for L2 DAO vote aggregation (#16654) (edbae8d)
  • protocol: add LibTiers.TIER_GUARDIAN to OptimisticTierProvider (#15647) (ee5c855)
  • protocol: add OptimisticTierProvider for client testing (#15645) (6569264)
  • protocol: add TaikoL1.getTransition(blockId, transitionID) function (2c63cb0)
  • protocol: add UpgradeTierProvider script (#16017) (a01da46)
  • protocol: add a new tier B_TIER_GUARDIAN_MINORITY (#16790) (cab4071)
  • protocol: add a script to use native USDC token as the bridged token (#16812) (63fe93d)
  • protocol: add a view function isSignalReceived for Bridge relayer/UI (#16591) (39d4be6)
  • protocol: add back EventProcessed event and improve gas logging in Bridge (#16760) (530457b)
  • protocol: add ERC20Airdrop test and deployment script (#15752) (e60588c)
  • protocol: add GuardianApproval event to GuardianProver (#15817) (78f0481)
  • protocol: add message owner parameter to vault operations (#15770) (136bdb7)
  • protocol: add QuillAudits report (#16186) (b0ce62e)
  • protocol: add readonly functions isMessageFailed & isMessageReceived to Bridge (#16608) (2fbd948)
  • protocol: add various small fixes based on quill report (#16031) (1f46b33)
  • protocol: Add votes and snapshot plugin (#15732) (45b549b)
  • protocol: added test case for ERC721Airdrop (#16025) (c8f6e9b)
  • protocol: Adjust proving reward to increase valid contestation ROI (37fa853)
  • protocol: adopt optimism new trie codebase (#15608) (f5e7ee1)
  • protocol: allow assigned prover to prove blocks outside proving window (liveness bond not returned) (2c63cb0)
  • protocol: allow bridge to ban addresses (#15577) (17b074b)
  • protocol: allow bridge to fail a message by the owner without retrying it (#16669) (dce651e)
  • protocol: allow disabling block reuse (#15916) (0f314c5)
  • protocol: allow ERC20Airdrop.delegateBySig to fail (#16622) (d375cc1)
  • protocol: allow GuardianProver set TKO allowance for TaikoL1 (#16831) (ce7076c)
  • protocol: allow L2 contracts to read L2's parent block timestamp (#16425) (9b79359)
  • protocol: allow minGuardians be any value between 0 and numGuardians (#16384) (0b1385e)
  • protocol: allow one-tx claim and delegation for bridged ERC20 tokens (#15727) (603f24b)
  • protocol: allow setting L2 coinbase (#15743) (e3fde54)
  • protocol: avoid proving-fee payment if amount is 0 (#16595) (761a066)
  • protocol: change INSTANCE_VALIDITY_DELAY to 0 at first (#16656) (86a41ac)
  • protocol: change cooldown and proving window to minutes (#16063) (f064224)
  • protocol: check 4844 staticcall return values (TKO-22) (#15574) (00a9cd7)
  • protocol: check if addresses ever reregistered in SGXProver (#15665) (27c86c1)
  • protocol: Emit event for client / node (Requested by Huan) (37fa853)
  • protocol: enable EIP712 signature for TimelockTokenPool (#16335) (d93e4c5)
  • protocol: enable remote attestation in SGX prover (#15559) (95159d6)
  • protocol: enforce an invocation delay for bridged messages (#15555) (59c322d)
  • protocol: enforce initializer call with onlyInitializing modifier (#16061) (f3d7d82)
  • protocol: extend SignalService interface (#15969) (d90e90a)
  • protocol: fix signal service multi-hop proof verification bugs (#15680) (b46269c)
  • protocol: get rid of new compiler warnings (#15613) (ccee985)
  • protocol: getBlock also returns the transition used to verify the block (#15917) (e583d99)
  • protocol: improve _authorizePause for Bridge (#16544) (f76c705)
  • protocol: Improve Bridge _proveSignalReceived code readability (37fa853)
  • protocol: Improve bridged nft tokens (37fa853)
  • protocol: Improve L2 1559 fee calculation code (37fa853)
  • protocol: improve protocol based on Brecht's internal review (#15740) (791b139)
  • protocol: improve signal service and remove ICrossChainSync (#15859) (58ffe10)
  • protocol: increase GAS_OVERHEAD value based on testnet data (#16769) (fb9334c)
  • protocol: Introduce DelegateOwner to become the owner of all L2 contracts (37fa853)
  • protocol: Make each transition contesting only dependent on it's own cooldown period (37fa853)
  • protocol: make getInvocationDelays return non-zero values for base chains (#15968) (bb8aaf4)
  • protocol: Make testnets and mainnet have the same bridge configuration (37fa853)
  • protocol: One grant per address (#15558) (0e24d2d)
  • protocol: pause ERC20Vault by default on L2 so owner can deploy native USDC (#16791) (cd682a0)
  • protocol: re-implement multi-hop bridging with optional caching (#15761) (a3a12de)
  • protocol: redesign Bridge fee & gasLimit and remove 2-step processing (#16739) (3049b0c)
  • protocol: remove contestations from TransitionState and events (it's buggy) (2c63cb0)
  • protocol: remove and clear proposedIn from TaikoData.Block (#16630) (511c18d)
  • protocol: remove banning address (#16604) (c4b705b)
  • protocol: remove ERC20SnapshotUpgradeable from TaikoToken and BrigedERC20 tokens (#16809) (f20a02f)
  • protocol: remove the ETHDeposit feature completely (#16638) (643b4b1)
  • protocol: Rename tier providers (37fa853)
  • protocol: reserve 2 slots for TaikoData.Transition (#15716) (8099bd1)
  • protocol: risc0 verifier contract (#16331) (17abc18)
  • protocol: sync state root rather than signal service's storage root (#15671) (ea33e65)
  • protocol: trigger simultaneous recurring TKO snapshots (#16715) (bffc8dc)
  • protocol: update AuthorizeTaikoForMultihop script (#16147) (0b1aa8b)
  • protocol: update config_dcap_sgx_verifier.sh test script (#16218) (5df976c)
  • protocol: update SetRemoteBridgeSuites to register remote signal services (#15982) (11af1cc)
  • protocol: Update chain id for the upcoming Hekla testnet (37fa853)
  • protocol: update signal service ownership transfer check in DeployOnL1 (#16080) (06a774e)
  • protocol: Upgrade solhint to 4.5.2 (37fa853)
  • protocol: upgrade to use OZ 4.9.6 (#16360) (2a0fe95)
  • protocol: use blobhash() and remove BlobHashReader.yulp (#15610) (d886ad7)
  • protocol: use 35000 as gas limit for sending Ether in Brdge (#16666) (4909782)
  • protocol: use Ownable2StepUpgradeable for better security (#16029) (9cbfd08)
  • relayer: two-step bridge + watchdog + full merkle proof (#15669) (1039a96)

Bug Fixes

  • protocol: add 1 to _REENTRY_SLOT in EssentialContract (#16593) (a381ddd)
  • protocol: add access control to BridgedERC20Base.burn (TKO-08 ) (#15566) (9004b04)
  • protocol: add address manager to taiko token (#16394) (c64ec19)
  • protocol: add delete-instance function (TKO16) (#15629) (a62a137)
  • protocol: add GovernorSettingsUpgradeable (#16687) (eba82ba)
  • protocol: address miscellaneous feedbacks from Sigma Prime (TKO26) (#15600) (760d3dc)
  • protocol: allow proposing when proving is paused (#15796) (6b46943)
  • protocol: block reusability check error fixed (TKO-18) (#15572) (27ce911)
  • protocol: call _disableInitializers in AddressResolver's constructor. (#16564) (f137077)
  • protocol: change to transfer and mint pattern with BridgedERC20 tokens (#16796) (75841ec)
  • protocol: check 63/64 gasleft() not smaller than specified gaslimit (#16613) (12f73cd)
  • protocol: check blob capability in LibProposing using LibNetwork.isDencunSupported (#16657) (e787493)
  • protocol: check invocation gas limit also in retryMessage (#16660) (8209a43)
  • protocol: check no loops in multi-hop in Bridge (#16659) (447cd52)
  • protocol: Correct decoding (TKO-03) (#15582) (dc46b27)
  • protocol: Deposit ether reentrancy (TKO-14) (#15569) (7327ff0)
  • protocol: fix a bug in changeBridgedToken (#16403) (42c279f)
  • protocol: Fix a proving bug when top-tier re-approves top-tier (reported by OpenZeppelin and Code4rena) (37fa853)
  • protocol: fix a SGX bug in pemCertChainLib (#16639) (83db3da)
  • protocol: fix an issue in DevnetTierProvider (#16798) (2714dd2)
  • protocol: fix bridge bug caused by incorrect check of receivedAt (by OZ) (#16545) (c879124)
  • protocol: fix bridge prove message issue using staticcall (#16404) (dd57560)
  • protocol: fix bridge unpause will delay execution (#16612) (381f8b8)
  • protocol: fix Bridge.sol gap size (#16594) (5f75dd8)
  • protocol: fix bug in LibBytesUtils.toBytes32 (TKO-07) (#15565) (6def8a3)
  • protocol: fix build error (#15973) (f53130c)
  • protocol: fix chainid check to allow the case where chainid = type(uint64).max to still be valid, per the implied intention of type downcasting (#15792) (a401622)
  • protocol: fix cooldown/proof window caused by pausing (TKO-12) (#15585) (b2176d3)
  • protocol: fix cooldown/proof window caused by pausing proving (again) (#15616) (e43b512)
  • protocol: fix custom coinbase transferFrom issue (alternative) (#16327) (7423ffa)
  • protocol: fix encode eth deposit check (#15793) (005a37a)
  • protocol: fix ERC20Airdrop2.sol with an extended withdrawal window (#16596) (bc542d8)
  • protocol: Fix genesis script by add missing state variables (reported by OpenZeppelin) (37fa853)
  • protocol: fix governor bravo vulnerability (#15947) (a631be6)
  • protocol: fix guardian prover (#16606) (643bd17)
  • protocol: fix isSignalSent bug (#15970) (c001cfb)
  • protocol: fix LibTrieProof.verifyMerkleProof by RLP-encoding the byte32 value first (#16018) (e1f21c1)
  • protocol: fix msg.sender == first_proposer bug (#16605) (b019975)
  • protocol: Fix or improve comments (reported by Code4rena) (37fa853)
  • protocol: fix parent metahash check for the first block (#16607) (ce9e67b)
  • protocol: fix potential 1271 signature replay if proposers are smart contracts (#16665) (2b27477)
  • protocol: fix recall not working with bridged tokens (#15679) (dd2c33d)
  • protocol: fix revert reading blockhash (TKO-19) (#15570) (465f7f4)
  • protocol: Fix sender EOA check (reported by OpenZeppelin) (37fa853)
  • protocol: fix signature reuse bug (#16611) (ff2dc11)
  • protocol: fix singla service cannot be shared by multiple taiko L1/L2 contracts bug (#15807) (a652ae8)
  • protocol: fix supportsInterface in BaseVault, fix typo and visibility (#16600) (f6efe97)
  • protocol: Fix taiko token domain separator (#15717) (6e2771c)
  • protocol: imporve bridge _proveSignalReceived and fix genesis test (#15641) (15f6995)
  • protocol: make snapshot return value (#16436) (dcae54a)
  • protocol: Make each transition contesting only dependent on it's own cooldown period (reported by OpenZeppelin) (37fa853)
  • protocol: mandate bridge message only calls onMessageInvocation (#15996) (f7a12b8)
  • protocol: need to fix a bug in LibTrieProof (or its test) (#15739) (ac1ca31)
  • protocol: new way to calculate meta.difficulty (TKO-11) (#15568) (8c4b48e)
  • protocol: oz - use excessivelySafeCall instadd of to.call(...) (#16145) (8d79dde)
  • protocol: prove signal with full merkle proofs against block state roots (#15683) (e2f4bc2)
  • protocol: remove an unused event (#16054) (c7cca7d)
  • protocol: remove the blob-reuse feature (284447b)
  • protocol: renounce timelock_admin role from msg.sender (#16751) (abd18e8)
  • protocol: return liveness bond only to assigned prover (2c63cb0)
  • protocol: revert auto snapshot PR (#16801) (ef00cae)
  • protocol: revert removing proposedIn (being used by node/client) (#16644) (2c311e1)
  • protocol: set initial owner in the init() function without acceptOwnership (#16071) (63cd7d3)
  • protocol: sync submodule commits (#15656) (986cb63)
  • protocol: tstore is not suppported on L2 now (#15802) (f44698e)
  • protocol: update amounts emitted to match length with tokenIds (#15898) (bfa0ca2)
  • protocol: use IERC721Upgradeable instead of ERC721Upgradeable under ERC721Airdrop (#16059) (b9ee868)
  • protocol: Use safeMint with ERC721 (#15636) (c12e2d7)
  • protocol: use safeTransferFrom (TKO-09) (#15567) (30d771c)
  • protocol: use signature check to verify if msg.sender is EOA (#16641) (b853c08)
  • repo: typos (#16589) (8836e50)

Reverts

  • protocol: revert update open-zeppelin contracts (#15896) (994e29e)

Documentation

Miscellaneous Chores


This PR was generated with Release Please. See documentation.

@dantaik dantaik requested a review from davidtaikocha May 1, 2024 04:12
@dantaik dantaik self-requested a review May 1, 2024 04:14
@dantaik dantaik changed the title chore(main): release protocol 2.0.0 chore(main): release protocol 1.5.0 May 1, 2024
@dantaik dantaik closed this May 1, 2024
@dantaik dantaik deleted the release-please--branches--main--components--protocol branch May 1, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants