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

refactor(protocol): refactor bridge/vault/signal for multi-chain deployment #15061

Merged
merged 204 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
c4486cd
more
dong77 Oct 23, 2023
fdab6f8
more
dong77 Oct 23, 2023
40262d5
Create Lib4844.sol
dong77 Oct 23, 2023
9d5c15b
mix mode
dong77 Oct 23, 2023
885f9a4
Update LibProposing.sol
dong77 Oct 23, 2023
b61bb26
Update LibProposing.sol
dong77 Oct 23, 2023
4a5558d
Update LibProposing.sol
dong77 Oct 23, 2023
80ce237
rename
dong77 Oct 23, 2023
77c6e55
Update LibProposing.sol
dong77 Oct 23, 2023
88b751a
more
dong77 Oct 23, 2023
d9d4621
more
dong77 Oct 23, 2023
b252f26
Update PseZkVerifier.sol
dong77 Oct 23, 2023
c15e53f
Update PseZkVerifier.sol
dong77 Oct 23, 2023
564af7c
Update TaikoL1TestBase.sol
dong77 Oct 23, 2023
05bffb9
more
dong77 Oct 23, 2023
d72da4e
Update PseZkVerifier.sol
dong77 Oct 23, 2023
262da94
Update PseZkVerifier.sol
dong77 Oct 23, 2023
763ceea
more
dong77 Oct 23, 2023
ef48992
more
dong77 Oct 23, 2023
f3b071b
rename
dong77 Oct 23, 2023
d293c87
Update PseZkVerifier.sol
dong77 Oct 23, 2023
cbb0fe8
more
dong77 Oct 23, 2023
5ae14e6
Merge branch 'contestable-zkrollup' into 4844
dantaik Oct 23, 2023
e551643
more
dong77 Oct 23, 2023
220dbd4
more
dong77 Oct 23, 2023
cfbf05f
Merge branch '4844' of https://github.com/taikoxyz/taiko-mono into 4844
dong77 Oct 23, 2023
5162305
Update PseZkVerifier.sol
dong77 Oct 24, 2023
5088b87
fix blobhash = 0 error
dong77 Oct 24, 2023
837ae52
Update TaikoL1.sol
dong77 Oct 24, 2023
03878d1
fix
dong77 Oct 24, 2023
fd51e76
Update LibProposing.sol
dong77 Oct 24, 2023
d64b178
Update LibProposing.sol
dong77 Oct 24, 2023
e0f6e31
refactor(protocol): use more abi.encodePacked (#15023)
dantaik Oct 24, 2023
06d1231
Update PseZkVerifier.sol
dong77 Oct 24, 2023
444597b
fix comment
dong77 Oct 24, 2023
32fa5fb
Update TaikoL1TestBase.sol
dong77 Oct 24, 2023
e11645f
Update packages/protocol/contracts/L1/TaikoData.sol
dantaik Oct 25, 2023
33781f1
Update PlonkVerifier.yulp
dong77 Oct 25, 2023
2ebb725
Merge branch '4844' of https://github.com/taikoxyz/taiko-mono into 4844
dong77 Oct 25, 2023
88970d6
Merge branch 'contestable-zkrollup' into 4844
dantaik Oct 25, 2023
248290f
Merge branch 'contestable-zkrollup' into 4844
dantaik Oct 25, 2023
91fcb5e
fix tests
adaki2004 Oct 25, 2023
b502030
Merge branch 'contestable-zkrollup' into 4844
dantaik Oct 25, 2023
6d7b013
feat(protocol): Blob hash to meta (#15031)
adaki2004 Oct 26, 2023
2407754
Merge branch 'contestable-zkrollup' into 4844
dantaik Oct 26, 2023
1fda991
fix
dong77 Oct 26, 2023
2f1297c
Update pnpm-lock.yaml
dong77 Oct 26, 2023
aa9e8b1
Merge branch 'contestable-zkrollup' into 4844
dong77 Oct 27, 2023
bb13f4c
Merge branch '4844' of https://github.com/taikoxyz/taiko-mono into 4844
dong77 Oct 27, 2023
0ccce6f
Update pnpm-lock.yaml
dong77 Oct 27, 2023
52d479b
Make message.to != etherVault
dong77 Oct 27, 2023
acea7e4
fix issue
dong77 Oct 27, 2023
a04c336
more
dong77 Oct 27, 2023
8f2f982
Update Bridge.sol
dong77 Oct 27, 2023
eb4241a
Update Bridge.sol
dong77 Oct 27, 2023
f08531a
Merge branch 'contestable-zkrollup' into 4844
dantaik Oct 27, 2023
01b6b0d
Allow any message.to address on the source bridge
dong77 Oct 27, 2023
15da961
minor change
dong77 Oct 27, 2023
e42f160
Fix another bug in recall message
dong77 Oct 27, 2023
88b47d3
better
dong77 Oct 27, 2023
30a9f52
Update Bridge.sol
dong77 Oct 27, 2023
4b750a1
Update Bridge.sol
dong77 Oct 27, 2023
4d5d17c
Update LibVaultUtils.sol
dong77 Oct 27, 2023
2272dd8
more
dong77 Oct 27, 2023
a22468d
more
dong77 Oct 27, 2023
aa3fe85
more
dong77 Oct 27, 2023
ebf3219
more
dong77 Oct 27, 2023
6b8761c
more
dong77 Oct 27, 2023
29f2199
more
dong77 Oct 27, 2023
f9fb282
more
dong77 Oct 27, 2023
b40212a
Update LibDeploy.sol
dong77 Oct 27, 2023
ae7da38
Update LibDeploy.sol
dong77 Oct 27, 2023
a7146c5
Update ERC1155Vault.sol
dong77 Oct 27, 2023
a59509f
more
dong77 Oct 27, 2023
ad48a8d
Update ERC721Vault.sol
dong77 Oct 27, 2023
0191c47
Revert "Update ERC1155Vault.sol"
dong77 Oct 27, 2023
6c072ae
Update taikoL2.ts
dong77 Oct 27, 2023
c471973
fix(protocol): fix bridge bug message.to=valut,message.call=onMessage…
dantaik Oct 27, 2023
7b77927
Merge branch '4844' into fix_bridge_bug_by_victor
dantaik Oct 27, 2023
a01a66c
Merge branch 'fix_bridge_bug_by_victor' into bridgable_app
dong77 Oct 27, 2023
707b2ad
more
dong77 Oct 27, 2023
7b248f7
more
dong77 Oct 27, 2023
91871a7
more
dong77 Oct 27, 2023
b246f24
more
dong77 Oct 28, 2023
2e557a1
more
dong77 Oct 28, 2023
31b640f
Update AuthorizableContract.sol
dong77 Oct 28, 2023
7baad90
Update SignalService.sol
dong77 Oct 28, 2023
c77dda7
Update SignalService.sol
dong77 Oct 28, 2023
30645b4
refactor(protocol): split Evidence to Transition + TierProof (#15046)
dantaik Oct 28, 2023
7a8bf5d
Merge branch '4844' into fix_bridge_bug_by_victor
dantaik Oct 28, 2023
5143c6d
Merge branch 'fix_bridge_bug_by_victor' into bridgable_app
dantaik Oct 28, 2023
fa61871
Update Bridge.sol
dong77 Oct 28, 2023
5ab2a28
fix(protocol): fix 2 bridge bugs reported by Victor (#15051)
dantaik Oct 28, 2023
129f620
refactor(protocol): handle vault `message.to` being address(0) or add…
dantaik Oct 28, 2023
a8c9c4b
Update contract_graph.dot
dong77 Oct 28, 2023
0712b61
more
dong77 Oct 28, 2023
d45863c
more
dong77 Oct 28, 2023
f08b0d3
Update BaseVault.sol
dong77 Oct 28, 2023
92dc257
more
dong77 Oct 28, 2023
722b35a
Update SignalService.t.sol
dong77 Oct 28, 2023
fe95d3e
Update AuthorizableContract.sol
dong77 Oct 28, 2023
35e80cb
more
dong77 Oct 28, 2023
94135f2
Merge branch '4844' into bridgable_app
dong77 Oct 28, 2023
be0d85c
Update BaseVault.sol
dong77 Oct 28, 2023
b667b94
more
dong77 Oct 28, 2023
9ce79ff
cleanup
dong77 Oct 28, 2023
dbcaacb
add graph
dong77 Oct 28, 2023
1e9b827
add graph
dong77 Oct 28, 2023
9120b3a
more
dong77 Oct 28, 2023
c548af5
More optimization (#15072)
dantaik Oct 29, 2023
3b19743
more
dong77 Oct 29, 2023
5e60e26
Revert "more"
dong77 Oct 29, 2023
9c8a2b6
Revert "More optimization (#15072)"
dong77 Oct 29, 2023
e432fc7
Revert "more"
dong77 Oct 29, 2023
d5e5198
Create multihop_bridging_deployment.md
dong77 Oct 29, 2023
239ab3f
more
dong77 Oct 29, 2023
33108a6
more
dong77 Oct 29, 2023
76a7a99
Update SignalService.t.sol
dong77 Oct 29, 2023
e4049f9
Update taikoL2.ts
dong77 Oct 29, 2023
75d303b
Update taikoL2.ts
dong77 Oct 29, 2023
8bff619
test: fix workflow errors
davidtaikocha Oct 29, 2023
27bbeed
test: fix workflow errors
davidtaikocha Oct 29, 2023
7620c34
Update EssentialContract.sol
dong77 Oct 29, 2023
6ed2410
Update SignalService.sol
dong77 Oct 30, 2023
cc27968
Update AuthorizableContract.sol
dong77 Oct 30, 2023
8ce51ea
Update AuthorizableContract.sol
dong77 Oct 30, 2023
c0d6d26
Remove ether vault (#15078)
dantaik Oct 30, 2023
5b7b065
Update multihop_bridging_deployment.md
dong77 Oct 30, 2023
c0bac7f
Merge branch 'bridgable_app' of https://github.com/taikoxyz/taiko-mon…
dong77 Oct 30, 2023
a5c9fa0
cleanup EtherVault
dong77 Oct 30, 2023
1393aa8
Ownable2StepUpgradeable
dong77 Oct 30, 2023
d46e695
fix: fix workflow errors
davidtaikocha Oct 30, 2023
f53b34d
fix(protocol): ensure proposer is EOA when use calldata for DA (#15090)
dantaik Oct 31, 2023
7b9a790
Update multihop_bridging_deployment.md
dong77 Oct 31, 2023
1565b99
refactor(protocol): all chain ID is now uint64 (#15079)
dantaik Oct 31, 2023
71446eb
Update SignalService.sol
dong77 Oct 31, 2023
a5d6fef
Merge branch 'bridgable_app' of https://github.com/taikoxyz/taiko-mon…
dong77 Oct 31, 2023
f596097
Update Proxied.sol
dong77 Oct 31, 2023
17c8141
fix tests
adaki2004 Oct 31, 2023
5a9d68f
feat(relayer): proof changes for bridgable app (#15088)
cyberhorsey Nov 1, 2023
5760e95
feat(protocol): update deployment scripts based on #15061 (#15094)
davidtaikocha Nov 1, 2023
c63159d
refactor(protocol): check EOA differently (#15095)
dantaik Nov 1, 2023
34e53a7
Merge branch 'contestable-zkrollup' into 4844
dantaik Nov 1, 2023
285308d
Merge branch '4844' into bridgable_app
dantaik Nov 1, 2023
51db44a
fix
dong77 Nov 1, 2023
c86aa76
RESOLVER_ZERO_ADDR(uint64 chainId, string name);
dong77 Nov 1, 2023
e77969d
comments
dong77 Nov 1, 2023
731a004
fix build
dong77 Nov 1, 2023
8d9caaa
Merge branch '4844' into bridgable_app
dantaik Nov 1, 2023
a22129f
refactor(protocol): a safer way to check EOA? (#15100)
dantaik Nov 1, 2023
6fa3840
feat(protocol): allow pausing proving (#15102)
dantaik Nov 1, 2023
0f41cb6
fix(protocol): fix ERC1155Vault code too large (#15103)
dantaik Nov 1, 2023
fa259f5
merge upstream
dong77 Nov 2, 2023
7c13090
fix(protocol): remove duplicate field in SlotB (#15108)
dantaik Nov 2, 2023
417b379
fix(protocol): fix an issue in `DeployOnL1` script (#15110)
davidtaikocha Nov 2, 2023
1efd0e1
feat: update deployment script
davidtaikocha Nov 2, 2023
e7e784c
feat: update gensis generation scripts
davidtaikocha Nov 2, 2023
bb1be1f
feat(relayer): A6 bindings (#15114)
cyberhorsey Nov 3, 2023
7d14002
fix(protocol): deploy TransparentUpgradeableProxy for bridged token d…
dantaik Nov 3, 2023
1245455
Merge branch 'contestable-zkrollup' into bridgable_app
dong77 Nov 3, 2023
af5d919
Update TaikoL1.sol
dong77 Nov 3, 2023
9bd802a
Update TaikoL1.sol
dong77 Nov 3, 2023
45df37f
Update TaikoL1.sol
dong77 Nov 3, 2023
e4af378
chore(protocol): improve BlockVerified event (#15116)
dantaik Nov 3, 2023
3b5cbcd
fix(protocol): hash taiko address with assignment (#15120)
dantaik Nov 3, 2023
f9e1b59
feat(protocol): allow DA slicing and blob sharing (#15105)
dantaik Nov 3, 2023
ebafb7d
feat(protocol): deployment script updates based on #15104 (#15123)
davidtaikocha Nov 3, 2023
7090d5f
feat(protocol): Add more data to cross sync snippet (#15117)
dantaik Nov 3, 2023
9d68187
feat(relayer): Guardian prover health check tool (#15127)
cyberhorsey Nov 6, 2023
b9fb63f
build health check
cyberhorsey Nov 6, 2023
e10329b
build health check
cyberhorsey Nov 6, 2023
6fd4290
try this
cyberhorsey Nov 6, 2023
3c0d796
.
cyberhorsey Nov 6, 2023
1ddceb6
abi bindings
cyberhorsey Nov 8, 2023
11fa49d
feat(relayer): use new protocl synced snippet for much faster syncing…
cyberhorsey Nov 8, 2023
9597327
Update packages/protocol/contracts/L1/libs/LibProposing.sol
dantaik Nov 9, 2023
d48679f
Update TaikoL1.sol
dong77 Nov 9, 2023
504b2ee
Merge branch 'bridgable_app' of https://github.com/taikoxyz/taiko-mon…
dong77 Nov 9, 2023
6bfa6a2
Update LibProposing.sol
dong77 Nov 9, 2023
679513d
rename
dong77 Nov 9, 2023
2932978
Merge branch 'contestable-zkrollup' into bridgable_app
dantaik Nov 9, 2023
00d5924
Update LibProposing.sol
dong77 Nov 9, 2023
ce248b3
feat(protocol): allow TKO mint and burn (#15159)
dantaik Nov 10, 2023
ba1722d
minor improvement
dong77 Nov 11, 2023
205eb2c
feat(protocol): add maxBlockId to ProverAssignment (#15161)
dantaik Nov 11, 2023
17577bc
feat(protocol): create merge_contracts.py to update Taiko.xyz chatGPT…
dantaik Nov 12, 2023
f7f4ba4
Merge branch 'contestable-zkrollup' into bridgable_app
dantaik Nov 12, 2023
8ac7a14
feat(protocol): hash parent's metahash into current metahash (#15172)
dantaik Nov 12, 2023
712d991
Update LibUtils.sol
dong77 Nov 13, 2023
c56e583
fix brecht's comment
dong77 Nov 13, 2023
25704e8
Update IBridge.sol
dong77 Nov 13, 2023
8eb3c69
rename message.user to message.owner
dong77 Nov 13, 2023
19ea89e
Update BaseVault.sol
dong77 Nov 13, 2023
cc185f2
rename
dong77 Nov 13, 2023
9e2d555
Update ERC20Vault.sol
dong77 Nov 13, 2023
7a7acad
refactor(protocol): remove isBridgedToken (#15203)
dantaik Nov 13, 2023
145f511
feat(protocol): allow pay L1 builder a conditional tip (#15173)
dantaik Nov 13, 2023
3250d2c
Update GenerateGenesis.g.sol
dong77 Nov 13, 2023
5223804
Merge branch 'bridgable_app' of https://github.com/taikoxyz/taiko-mon…
dong77 Nov 13, 2023
716644f
improve L2 block.number check in init
dong77 Nov 13, 2023
c124fcb
fix(protocol): fix and improve CrossChainSynced event (#15202)
dantaik Nov 14, 2023
c0e4ee0
feat(protocol): added maxProposedIn & metaHash in Assignment (#15201)
dantaik Nov 14, 2023
cb5176d
feat(protocol): restrict max gas paying prover (#15200)
dantaik Nov 14, 2023
256544b
chore(relayer): Relayer bindings update (#15205)
cyberhorsey Nov 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions .github/workflows/guardianproverhealthcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: guardianproverhealthcheck

on:
push:
branches: [main]
paths:
- "packages/guardianproverhealthcheck/**"
pull_request:
paths:
- "packages/guardianproverhealthcheck/**"

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21.0
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest

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

test:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.21.0"

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

- name: guardianproverhealthcheck - Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./packages/guardianproverhealthcheck/coverage.txt
flags: guardianproverhealthcheck

push-docker-image:
# only push docker image on PR merge to main
if: ${{ github.event }} == 'push'
name: Build and push docker image
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}

- name: Login to GCR
uses: docker/login-action@v2
with:
registry: gcr.io
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
gcr.io/evmchain/guardianproverhealthcheck
tags: |
type=ref,event=branch
type=ref,event=pr
type=ref,event=tag
type=sha

- name: Build and push
uses: docker/build-push-action@v2
with:
platforms: linux/amd64
push: true
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
PACKAGE=guardianproverhealthcheck
1 change: 1 addition & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
deps
eventindexer
fork-diff
guardianproverhealthcheck
protocol
relayer
starter-dapp
Expand Down
Loading
Loading