Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
feat(all): sync state root rather than signal service's storage root (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Feb 15, 2024
1 parent 738194d commit b05c0d6
Show file tree
Hide file tree
Showing 24 changed files with 168 additions and 242 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
with:
repository: taikoxyz/taiko-mono
path: ${{ env.TAIKO_MONO_DIR }}
ref: alpha-6

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down Expand Up @@ -85,7 +84,7 @@ jobs:
- name: Install protocol dependencies
working-directory: ${{ env.TAIKO_MONO_DIR }}
run: cd ./packages/protocol && pnpm install && forge install
run: cd ./packages/protocol && pnpm install

- name: Test
working-directory: ${{ env.CLIENT_DIR }}
Expand Down
2 changes: 1 addition & 1 deletion bindings/.githead
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c12e2d75fff02dcd1b0f1edaa1781a30a1d4b4e1
a19922dc58e3cdffbb582866fbf4bba41bc74d35
10 changes: 9 additions & 1 deletion bindings/encoding/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,17 @@ var (
Type: "bytes32",
},
{
Name: "signalRoot",
Name: "stateRoot",
Type: "bytes32",
},
{
Name: "graffiti",
Type: "bytes32",
},
{
Name: "__reserved",
Type: "bytes32[2]",
},
}
tierProofComponents = []abi.ArgumentMarshaling{
{
Expand All @@ -108,6 +112,10 @@ var (
Name: "assignedProver",
Type: "address",
},
{
Name: "coinbase",
Type: "address",
},
{
Name: "extraData",
Type: "bytes32",
Expand Down
1 change: 1 addition & 0 deletions bindings/encoding/struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type HookCall struct {
// BlockParams should be same with TaikoData.BlockParams.
type BlockParams struct {
AssignedProver common.Address
Coinbase common.Address
ExtraData [32]byte
BlobHash [32]byte
TxListByteOffset *big.Int
Expand Down
14 changes: 7 additions & 7 deletions bindings/gen_assignment_hook.go

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions bindings/gen_guardian_prover.go

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions bindings/gen_lib_proving.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b05c0d6

Please sign in to comment.