Skip to content

Commit

Permalink
Taiko main v2 (#14)
Browse files Browse the repository at this point in the history
* fix: fix lint errors

* test: update tests

* chore(taiko-client): update CI badge and path (taikoxyz#18441)

* ci(repo): delete some workflows and release configs (taikoxyz#18440)

* feat(docs-site): update network config, list cooldown, proving windows and bonds for every tier, remove banner (taikoxyz#18377)

Co-authored-by: Daniel Wang <[email protected]>

* fix(protocol): fix debitBond bug and add additional tests (taikoxyz#18443)

* feat: changes based on comments

* feat: changes based on comments

* feat(taiko-client): add chain ID to `TryDecompress()` (taikoxyz#18444)

* refactor(protocol): slightly improve EssentialContract (taikoxyz#18445)

* fix: fix lint errors

* fix(protocol): revert `B_TIER_OPTIMISTIC` back to `""` (taikoxyz#18446)

* feat(taiko-client): compatible changes for `lastProposedIn` (taikoxyz#18442)

* ci(protocol): revert release-please workflow (taikoxyz#18447)

* build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in the go_modules group (taikoxyz#18448)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(main): release docs-site 1.15.0 (taikoxyz#18428)

* feat(taiko-client): revert pr 18442 (taikoxyz#18450)

* test: add more tests

* test: add more tests

* docs(protocol): upgrade verifiers to support proof aggregation in Hekla (taikoxyz#18453)

* feat(protocol): allow `local.params.parentMetaHash` to remain as 0 (taikoxyz#18451)

* feat(docs-site): update graphic for hekla network config (taikoxyz#18457)

* feat(repo): don't run workflows on release-please branches (taikoxyz#18459)

* fix(repo): revert release-please (taikoxyz#18461)

* refactor(protocol): extra a new function in LibProposing (taikoxyz#18456)

* chore: update some comments

* feat: check soft block height

* feat(taiko-client): update Go contract bindings (taikoxyz#18462)

* chore(main): release docs-site 1.16.0 (taikoxyz#18458)

Co-authored-by: Roger <[email protected]>

* build docker image which will used in hive test

* build docker image which will used in hive test

* feat(taiko-client): avoid coping the whole struct (taikoxyz#18463)

* feat(protocol): update sp1 to 3.0.0 prod version (taikoxyz#18465)

* feat(protocol): request zk proofs(risc0 & sp1) in mainnet (taikoxyz#18467)

* feat(protocol): tolerate invalid BaseFeeConfig on L2 (taikoxyz#18338)

Co-authored-by: dantaik <[email protected]>
Co-authored-by: gavin <[email protected]>
Co-authored-by: David <[email protected]>
Co-authored-by: Bernat Canal Garceran <[email protected]>
Co-authored-by: taiko-bot <[email protected]>
Co-authored-by: Roger <[email protected]>
Co-authored-by: maskpp <[email protected]>
Co-authored-by: smtmfft <[email protected]>
Co-authored-by: Ivan Lagunovsky <[email protected]>
Co-authored-by: jeff <[email protected]>
Co-authored-by: Karim <[email protected]>
Co-authored-by: Karim <[email protected]>
Co-authored-by: YoGhurt111 <[email protected]>

* docs(protocol): upgrade sp1 remote verifier in Hekla (taikoxyz#18469)

* feat(relayer): confirmations before indexing for relayer should be configurable (taikoxyz#18466)

* feat(docs-site): update testnet address (taikoxyz#18472)

* feat(repo): fix workflows, restore merge-gatekeeper (taikoxyz#18471)

* docs(protocol): add mainnet zkVM verifiers deployment (taikoxyz#18454)

* feat(protocol): measure gas per block using a debug event (taikoxyz#18470)

* feat(protocol): increase zk(risc0 & sp1) rate in mainnet (taikoxyz#18481)

* test(protocol): check LibEIP1559 function results in fuzz tests (taikoxyz#18475)

* chore(docs-site): update block-states.mdx (taikoxyz#18480)

* fix(repo): ignore draft PRs merge-gatekeeper (taikoxyz#18488)

* feat(docs-site): update tier config and graphic (taikoxyz#18487)

* chore(main): release docs-site 1.17.0 (taikoxyz#18476)

* chore(repo): improve documentation and changelog (taikoxyz#18489)

* docs(protocol): add Ontake fork audit report from OpenZeppelin (taikoxyz#18491)

* chore(protocol): fix typos in documentation files (taikoxyz#18490)

* feat(eventindexer): eventindexer post ontake fork (taikoxyz#18474)

* build(deps): bump github.com/buildkite/terminal-to-html/v3 from 3.8.0 to 3.16.3 (taikoxyz#18478)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0 (taikoxyz#18479)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/prysmaticlabs/prysm/v5 from 5.1.0 to 5.1.2 (taikoxyz#18477)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs(protocol): update mainnet deployment docs (taikoxyz#18482)

* build(deps): bump github.com/go-resty/resty/v2 from 2.15.3 to 2.16.0 (taikoxyz#18492)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/buildkite/terminal-to-html/v3 from 3.16.3 to 3.16.4 (taikoxyz#18493)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: check if BatchID is nil

* chore: update go.sum

* chore: update go.mod

* feat: only snap sync to the highest safe block

* chore(docs-site): update tier router address (taikoxyz#18495)

* chore(main): release docs-site 1.17.1 (taikoxyz#18496)

* test: fix tests

* docs(balance-monitor): fix typo Update main.go (taikoxyz#18502)

* docs(repo): improve grammar and readability (taikoxyz#18501)

* feat(repo): add geth-rpc-gateway (taikoxyz#18382)

* fix(relayer): temp fix if `txSender` is not available for `txIndex` when processing events (taikoxyz#18513)

* build(deps): bump github.com/pressly/goose/v3 from 3.20.0 to 3.23.0 (taikoxyz#18509)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/go-resty/resty/v2 from 2.16.0 to 2.16.2 (taikoxyz#18510)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci(repo): change to trigger hive test manually (taikoxyz#18514)

* refactor(taiko-client): move `utils` package from `internal/` to `pkg/`  (taikoxyz#18516)

* test(taiko-client): fix some lint issues for `taiko-client` (taikoxyz#18517)

* feat(taiko-client): fix utils reference and lint error (taikoxyz#18518)

* ci(repo): update go mod and use random port (taikoxyz#18515)

* test(taiko-client): skip `TestCheckL1ReorgToSameHeightFork` temporarily (taikoxyz#18522)

* feat(docs-site): add software releases page that shows latest software releases and protocol deployments (taikoxyz#18523)

* chore(main): release docs-site 1.18.0 (taikoxyz#18526)

* default false sig check

* feat(taiko-client): add more preconf logs (taikoxyz#18524)

* feat(docs-site): add escenario and explanation for contestable rollup (taikoxyz#18530)

* chore(main): release docs-site 1.19.0 (taikoxyz#18532)

* feat(nfts): trailblazers "registerEvent" contract (taikoxyz#18198)

* feat(nfts): trailblazers badges s2 (taikoxyz#18040)

Co-authored-by: bearni95 <[email protected]>

* feat(taiko-client): enable proof aggregation (batch proofs) (taikoxyz#18163)

Co-authored-by: David <[email protected]>
Co-authored-by: maskpp <[email protected]>

* feat(docs-site): add taiko-protocol section with economics and codebase analysis (taikoxyz#18542)

Co-authored-by: RogerLamTd <[email protected]>
Co-authored-by: swarna1101 <[email protected]>

* chore(main): release docs-site 1.20.0 (taikoxyz#18550)

* chore(docs-site): update hekla proof tier config graphic and address (taikoxyz#18554)

* chore(docs-site): add goldsky to dev tools (taikoxyz#18552)

* feat(taiko-client): don't change safeBlockHash and finalizedBlockHash (taikoxyz#18544)

* feat(protocol): decrease the rate of risc0 in Hekla (taikoxyz#18553)

* fix(docs-site): correct graphic (taikoxyz#18561)

* chore(main): release docs-site 1.20.1 (taikoxyz#18555)

* fix(docs-site): link of goldsky in dev tools (taikoxyz#18562)

* chore(main): release docs-site 1.20.2 (taikoxyz#18563)

* fix(docs-site): update hekla graphic (taikoxyz#18572)

* chore(main): release docs-site 1.20.3 (taikoxyz#18573)

* feat: add client and protocol workflows

* feat(bridge-ui): remove fee padding (taikoxyz#18546)

* feat(nfts): eventRegister contract update (taikoxyz#18547)

* chore(main): fix misspelled (taikoxyz#18581)

* chore(protocol): remove repetitive words in audit report (taikoxyz#18584)

Signed-off-by: RiceChuan <[email protected]>

* ci(relayer): stop running CI actions when updating `go.mod` (taikoxyz#18591)

* build(deps): bump github.com/labstack/echo/v4 from 4.12.0 to 4.13.2 (taikoxyz#18583)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David <[email protected]>

* build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 (taikoxyz#18560)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (taikoxyz#18539)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David <[email protected]>

* feat(repo): don't run vercel workflow on fork (taikoxyz#18593)

* feat: update go.mod

* feat(repo): disable docs-site preview run on fork (taikoxyz#18596)

* chore(docs-site): fix broken link  (taikoxyz#18585)

Co-authored-by: Roger <[email protected]>

* chore(docs-site): fix typos in node operator guides (taikoxyz#18586)

Co-authored-by: Roger <[email protected]>

* feat(bridge-ui): add curve (taikoxyz#18549)

* feat(taiko-client): check baseFee before append the latest soft block (taikoxyz#18533)

* feat(protocol): change HeklaTaikoToken's clock mode to timestamp to test the DAO (taikoxyz#18597)

* docs(protocol): update Hekla deployments (taikoxyz#18598)

* feat(protocol): introduce ForkManager to improve protocol fork management (taikoxyz#18508)

Co-authored-by: dantaik <[email protected]>
Co-authored-by: David <[email protected]>

* fix(taiko-client): valid status check in `BatchGetBlocksProofStatus` (taikoxyz#18595)

* fix(nft): fix s2 badges remigration (taikoxyz#18578)

Co-authored-by: Korbinian <[email protected]>
Co-authored-by: Korbinian <[email protected]>

* feat(protocol): propose a batch blocks conditionally (taikoxyz#18570)

Co-authored-by: YoGhurt111 <[email protected]>

* feat(taiko-client): make p2p-sync required (taikoxyz#18571)

* fix: fix swaggo error

* feat: go fmt

* chore(main): release bridge-ui 2.13.0 (taikoxyz#18430)

* build(deps): bump codecov/codecov-action from 4 to 5 (taikoxyz#18543)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(protocol): adjust the zk ratio(risc0 & sp1) (taikoxyz#18613)

* feat(protocol): update `RollupAddressCache` with new `MainnetTierRouter` address (taikoxyz#18619)

* chore(protocol): delete gas debug event (taikoxyz#18620)

* chore(docs-site): update proof tier graphic (taikoxyz#18617)

* build(deps): bump github.com/labstack/echo/v4 from 4.13.2 to 4.13.3 (taikoxyz#18623)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/pressly/goose/v3 from 3.23.0 to 3.24.0 (taikoxyz#18624)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github.com/prysmaticlabs/prysm/v5 from 5.1.2 to 5.2.0 (taikoxyz#18625)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(taiko-client): improve `ProofBuffer` (taikoxyz#18627)

* chore(main): release taiko-client 0.40.0 (taikoxyz#18436)

* ci(protocol): make the storage layout table clearer (taikoxyz#18633)

Co-authored-by: dantaik <[email protected]>

* feat(docs-site): add doc for SGX Verifier. (taikoxyz#18579)

* chore(main): release docs-site 1.21.0 (taikoxyz#18592)

* docs(protocol): update mainnet deployment docs (taikoxyz#18621)

* chore(repo): fix broken links (taikoxyz#18635)

* chore(repo): improve license (taikoxyz#18634)

* docs(repo): fix links to LICENSE file (taikoxyz#18641)

* chore(main): release protocol 1.11.0 (taikoxyz#18433)

Co-authored-by: Daniel Wang <[email protected]>

* docs(protocol): update mainnet deployment docs (taikoxyz#18645)

* feat(taiko-client): catch raiko deserialization errors (taikoxyz#18644)

* feat(taiko-client): optimize aggregation loggingain (taikoxyz#18643)

* test(taiko-client): cleanup pre-ontake tests (taikoxyz#18647)

* feat(taiko-client): revert pr-18571 (taikoxyz#18648)

* ci(taiko-client): release client as `"taiko-alethia-client"` (taikoxyz#18651)

* ci(protocol): improve check-links (taikoxyz#18652)

* fix(repo): improve link checking (taikoxyz#18653)

* ci(repo): fix release-please (taikoxyz#18654)

Co-authored-by: Daniel Wang <[email protected]>

* docs(repo): update `README` (taikoxyz#18650)

Co-authored-by: dionysuz <[email protected]>

* feat: revert unncessary changes

* feat(protocol): make `TaikoL2Deprecated` ABI go-ethereum compatible (taikoxyz#18659)

Co-authored-by: Daniel Wang <[email protected]>

* feat(taiko-client): introduce `TaikoL2.GetBasefeeV2` (taikoxyz#18660)

Co-authored-by: Gavin Yu <[email protected]>

* ci(protocol): revert releasing protocol 1.11.0 (taikoxyz#18662)

* chore(main): release taiko-alethia-protocol 1.11.0 (taikoxyz#18663)

* fix(taiko-client): fix `GetBasefeeV2` usage (taikoxyz#18664)

* build(deps): bump github.com/labstack/echo-contrib from 0.17.1 to 0.17.2 (taikoxyz#18666)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump gorm.io/datatypes from 1.2.4 to 1.2.5 (taikoxyz#18665)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David <[email protected]>

* feat(taiko-client): remove an unused package (taikoxyz#18668)

* chore(taiko-client): improve `proofBuffer` logs (taikoxyz#18669)

* chore(main): release taiko-alethia-client 0.41.0 (taikoxyz#18655)

* ci(taiko-client): update docker image building configs (taikoxyz#18671)

* chore(taiko-client): cleanup pre-ontake proposer code (taikoxyz#18672)

* chore(main): release taiko-alethia-client 0.41.1 (taikoxyz#18673)

* chore(taiko-client): optimize logging (taikoxyz#18674)

* chore(taiko-client): cleanup pre-ontake prover code (taikoxyz#18677)

* chore(taiko-client): remove some unused flags (taikoxyz#18678)

* chore(docs-site): revert zk coverage docs (taikoxyz#18682)

Co-authored-by: David <[email protected]>

* chore(repo): don't run docker build and push on forks (taikoxyz#18687)

* feat(protocol): adjust zk(risc0 & sp1) ratio (taikoxyz#18684)

* fix(protocol): add timestamp as a new parameter to getBasefeeV2 (taikoxyz#18686)

Co-authored-by: Daniel Wang <[email protected]>
Co-authored-by: YoGhurt111 <[email protected]>

* fix(taiko-client): add taikoxyz#18442 back (taikoxyz#18685)

* ci(protocol): revert "chore(main): release taiko-alethia-protocol 1.11.0 (taikoxyz#18663)" (taikoxyz#18688)

* chore(taiko-client): fix typos in Swagger documentation for uptime endpoint (taikoxyz#18681)

* fix(taiko-client): add timestamp as a new parameter to getBasefeeV2 (taikoxyz#18691)

Co-authored-by: Daniel Wang <[email protected]>

* chore(guardian-prover-health-check): fix api doc (taikoxyz#18693)

* fix(repo): fix some Go compiler errors (taikoxyz#18689)

* chore(protocol): fix documentation (taikoxyz#18694)

* feat(taiko-client): introduce `TxBuilderWithFallback` (taikoxyz#18690)

* chore(relayer): fix docs (taikoxyz#18697)

* chore(taiko-client): fix docs (taikoxyz#18698)

* fix(repo): update versioning in version.go for client (taikoxyz#18700)

* fix(taiko-client): fix proposing fee estimation (taikoxyz#18702)

* chore(repo): workflows skip dependabot prs (taikoxyz#18701)

* fix(taiko-client): fix blob transactions estimation when proposing (taikoxyz#18703)

* fix(relayer): extra padding for contract messages, always pad non-contracts (taikoxyz#18699)

* chore(main): release docs-site 1.21.1 (taikoxyz#18639)

* test(taiko-client): add more fallback proposing tests (taikoxyz#18705)

* chore(main): release taiko-alethia-protocol 1.11.0 (taikoxyz#18695)

* build(deps): bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.1 (taikoxyz#18708)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(taiko-client): build blob transactions when gas estimation failed (taikoxyz#18712)

* feat(taiko-client): remove an unused flag for proposer (taikoxyz#18709)

* chore(taiko-client): add more metrics for `TxBuilderWithFallback` (taikoxyz#18711)

* chore(taiko-client): more cost estimation metrics (taikoxyz#18713)

* chore(docs-site): update codebase analysis to reflect protocol changes (taikoxyz#18714)

* chore(taiko-client): add more proof generation metrics (taikoxyz#18715)

* chore(taiko-client): improve prover logs (taikoxyz#18718)

* chore(main): release taiko-alethia-client 0.42.0 (taikoxyz#18676)

* chore(taiko-client): always use `blockID` instead of `height` for L2 blocks in logs (taikoxyz#18719)

* chore(eventindexer): rm ei generator (taikoxyz#18723)

* ci(repo): standardize workflow naming (taikoxyz#18726)

* ci(repo): update pnpm installer (taikoxyz#18725)

* chore(repo): update dependabot config (taikoxyz#18722)

* build(deps): bump the github-actions-updates group with 2 updates (taikoxyz#18728)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(taiko-client): improve proposer gas estimation (taikoxyz#18727)

* chore(main): release taiko-alethia-client 0.42.1 (taikoxyz#18720)

* feat(taiko-client): soft block driver APIs (taikoxyz#18273)

Co-authored-by: RogerLamTd <[email protected]>
Co-authored-by: Roger <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wang <[email protected]>
Co-authored-by: maskpp <[email protected]>
Co-authored-by: Jeffery Walsh <[email protected]>

* chore(main): release docs-site 1.21.2 (taikoxyz#18716)

* chore(taiko-client): bump `taiko-geth` dep (taikoxyz#18730)

* chore(taiko-client): add softBlock server start log (taikoxyz#18731)

* fix(taiko-client): fix pages workflow  (taikoxyz#18734)

* fix(taiko-client): remove `finalizedBlock` info when P2P syncing (taikoxyz#18735)

* fix(taiko-client): revert `tracker.triggered` related changes (taikoxyz#18737)

* chore(taiko-client): improve `TxBuilderWithFallback` logs (taikoxyz#18738)

* fix(taiko-client): check the `blockID` of the last verified block before using it as `FinalizedBlockHash` (taikoxyz#18739)

* fixed protocol deployment for tests

* Proposer tests fixed

* Driver skipped test brought back

* chain syncer skipped test brought back

* skip pr title validate

* refac: add protocol dockerfile and update deployment script

* More error logs

* binding regenerated

* Potential fix for code scanning alert no. 5: Incorrect conversion between integer types

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* potential leak of sensitive information, copilot warning

* missing import

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: RiceChuan <[email protected]>
Co-authored-by: David <[email protected]>
Co-authored-by: AlexWu <[email protected]>
Co-authored-by: Daniel Wang <[email protected]>
Co-authored-by: Roger <[email protected]>
Co-authored-by: Gavin Yu <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: taiko-bot <[email protected]>
Co-authored-by: maskpp <[email protected]>
Co-authored-by: smtmfft <[email protected]>
Co-authored-by: dantaik <[email protected]>
Co-authored-by: Bernat Canal Garceran <[email protected]>
Co-authored-by: Ivan Lagunovsky <[email protected]>
Co-authored-by: jeff <[email protected]>
Co-authored-by: Karim <[email protected]>
Co-authored-by: Karim <[email protected]>
Co-authored-by: YoGhurt111 <[email protected]>
Co-authored-by: Dmitry <[email protected]>
Co-authored-by: Noisy <[email protected]>
Co-authored-by: leopardracer <[email protected]>
Co-authored-by: Donny <[email protected]>
Co-authored-by: Hopium <[email protected]>
Co-authored-by: xiaodino <[email protected]>
Co-authored-by: Jeffery Walsh <[email protected]>
Co-authored-by: Korbinian <[email protected]>
Co-authored-by: bearni95 <[email protected]>
Co-authored-by: Jünger <[email protected]>
Co-authored-by: RogerLamTd <[email protected]>
Co-authored-by: swarna1101 <[email protected]>
Co-authored-by: nmjustinchan <[email protected]>
Co-authored-by: DikaCream <[email protected]>
Co-authored-by: RiceChuan <[email protected]>
Co-authored-by: futreall <[email protected]>
Co-authored-by: Tristav <[email protected]>
Co-authored-by: Korbinian <[email protected]>
Co-authored-by: dionysuz <[email protected]>
Co-authored-by: Daniel Wang <[email protected]>
Co-authored-by: FT <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent f4d3819 commit 7794385
Show file tree
Hide file tree
Showing 1,146 changed files with 70,493 additions and 46,989 deletions.
7 changes: 0 additions & 7 deletions .github/_typos.toml

This file was deleted.

28 changes: 7 additions & 21 deletions .github/actions/install-pnpm-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,25 @@
name: "Install pnpm dependencies"
description: "Install pnpm dependencies"
name: Install pnpm dependencies
description: Reusable action to install pnpm dependencies

runs:
using: "composite"
using: composite
steps:
- name: Set up Git to use HTTPS
shell: bash
run: |
git config --global url."https://github.com/".insteadOf "[email protected]:"
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
node-version: 20
cache: pnpm

- name: Install dependencies
shell: bash
Expand Down
43 changes: 38 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
# Dependabot configuration for automated dependency updates.
# This file is the single source of truth and overrides any GitHub repo settings.
#
# Key features:
# - Monthly updates scheduled for Saturday 04:20 ET
# - Dependencies are grouped by ecosystem to minimize PR noise
# - Each group has designated reviewers and single PR limit
# - To ignore updates for a dependency, add to ecosystem's ignore field (and open
# a GitHub issue if needed for tracking):
# ignore:
# - dependency-name: "golang.org/x/crypto" # skip all crypto updates

version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
day: "saturday"
time: "04:20"
timezone: "America/New_York"
open-pull-requests-limit: 10
reviewers:
- "davidtaikocha"
- "RogerLamTd"
open-pull-requests-limit: 1
groups:
go-updates:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
Expand All @@ -16,13 +35,27 @@ updates:
day: "saturday"
time: "04:20"
timezone: "America/New_York"
open-pull-requests-limit: 10
reviewers:
- "davidtaikocha"
- "RogerLamTd"
open-pull-requests-limit: 1
groups:
github-actions-updates:
patterns:
- "*"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
day: "saturday"
time: "04:20"
timezone: "America/New_York"
open-pull-requests-limit: 10
reviewers:
- "KorbinianK"
- "bearni95"
open-pull-requests-limit: 1
groups:
npm-updates:
patterns:
- "*"
File renamed without changes
5 changes: 4 additions & 1 deletion .github/workflows/bridge-ui--ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ on: workflow_call

jobs:
build:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
34 changes: 21 additions & 13 deletions .github/workflows/bridge-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,42 @@ name: Bridge UI CI/CD

on:
push:
paths:
- "packages/bridge-ui/**"
branches-ignore:
- dependabot/**
- release-please--branches--**
tags:
- "bridge-ui-v*"

pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/bridge-ui/**"

jobs:
build-and-test:
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.actor != 'dependabot[bot]' }}
uses: ./.github/workflows/bridge-ui--ci.yml

# Deployment name follow the pattern: deploy_<appname(bridge-ui)>_<network(devnet|hekla|mainnet)>_<environment(preview|production)>

# Internal Devnet
deploy_bridge-ui_devnet_preview:
if: ${{ github.ref_type != 'tag' }}
needs: build-and-test
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
environment: "preview"
flags: ""
secrets:
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_INTERNAL }}
vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
vercel_token: ${{ secrets.VERCEL_TOKEN }}
# deploy_bridge-ui_devnet_preview:
# if: ${{ github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'option.workflow_on') || github.event.pull_request.draft == false && github.head_ref != 'release-please-*') }}
# needs: build-and-test
# uses: ./.github/workflows/repo--vercel-deploy.yml
# with:
# environment: "preview"
# flags: ""
# secrets:
# vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI_INTERNAL }}
# vercel_org_id: ${{ secrets.VERCEL_ORG_ID }}
# vercel_token: ${{ secrets.VERCEL_TOKEN }}

# Hekla testnet
deploy_bridge-ui_hekla_preview:
if: ${{ github.ref_type != 'tag' }}
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.actor != 'dependabot[bot]' }}
needs: build-and-test
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
Expand All @@ -54,7 +62,7 @@ jobs:

# Mainnet
deploy_bridge-ui_mainnet_preview:
if: ${{ github.ref_type != 'tag' }}
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.actor != 'dependabot[bot]' }}
needs: build-and-test
uses: ./.github/workflows/repo--vercel-deploy.yml
with:
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/docs-site--preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@ env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_DOCS_SITE }}

on:
push:
branches-ignore:
- main
- release-please-*
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/docs-site/**"
branches-ignore:
- release-please--branches--**

jobs:
deploy-docs-site-preview:
runs-on: [taiko-runner]
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' }}
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docs-site--production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ on:

jobs:
deploy-docs-site-production:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
33 changes: 21 additions & 12 deletions .github/workflows/eventindexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,21 @@ on:
paths:
- "packages/eventindexer/**"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/eventindexer/**"
- "go.mod"
- "go.sum"
branches-ignore:
- release-please--branches--**

jobs:
lint-eventindexer:
name: lint-eventindexer
runs-on: [taiko-runner]
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please' && !startsWith(github.head_ref, 'refs/heads/dependabot/')) }}
runs-on: [arc-runner-set]
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.21.0
go-version: 1.23.0
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand All @@ -28,38 +30,46 @@ jobs:

# Optional: working directory, useful for monorepos
working-directory: ./packages/eventindexer
args: --config=.golangci.yml --timeout=4m
args: --config=.golangci.yml --timeout=10m

test-eventindexer:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please' && !startsWith(github.head_ref, 'refs/heads/dependabot/')) }}
needs: lint-eventindexer
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.21.0"
go-version: ">=1.23.0"

- name: eventindexer - Unit Tests
working-directory: ./packages/eventindexer
run: go test `go list ./... | grep -v ./contracts | grep -v ./mock | grep -v ./cmd` -coverprofile=coverage.txt -covermode=atomic

- name: eventindexer - Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
files: ./packages/eventindexer/coverage.txt
flags: eventindexer

push-eventindexer-docker-image:
if: ${{ github.event_name == 'pull_request' }}
# Skip dependabot PRs
if: ${{ github.event_name == 'pull_request' && ! startsWith(github.head_ref, 'refs/heads/dependabot/') && !startsWith(github.head_ref, 'release-please') && github.event.pull_request.head.repo.fork == false }}
name: Build and push docker image
runs-on: [taiko-runner]
runs-on: [arc-runner-set]

steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -91,9 +101,8 @@ jobs:
type=sha
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
context: .
tags: ${{ steps.meta.outputs.tags }}
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/fork-diff--preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_FORK_DIFF }}

on:
workflow_dispatch:
push:
branches-ignore:
- main
- release-please-*
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/fork-diff/**"
branches-ignore:
- release-please--branches--**

jobs:
deploy-fork-diff-preview:
runs-on: [taiko-runner]
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') && github.actor != 'dependabot[bot]' }}
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/fork-diff--production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ on:

jobs:
deploy-fork-diff-production:
runs-on: [taiko-runner]
runs-on: [arc-runner-set]
steps:
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
Loading

0 comments on commit 7794385

Please sign in to comment.