Skip to content

Commit

Permalink
Merge branch 'main' into guardian-no-contest
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored May 14, 2024
2 parents db56fb3 + 6ef421a commit b801d78
Show file tree
Hide file tree
Showing 20 changed files with 413 additions and 119 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/eventindexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
lint-eventindexer:
name: lint
name: lint-eventindexer
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -30,7 +30,7 @@ jobs:

test-eventindexer:
runs-on: [taiko-runner]
needs: lint
needs: lint-eventindexer
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/guardians-health-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- "packages/guardian-prover-health-check/**"

jobs:
lint:
name: lint
lint-guardian-prover-health-check:
name: lint-guardian-prover-health-check
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -28,9 +28,9 @@ jobs:
working-directory: ./packages/guardian-prover-health-check
args: --config=.golangci.yml --timeout=4m

test:
test-guardian-prover-health-check:
runs-on: [taiko-runner]
needs: lint
needs: lint-guardian-prover-health-check
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -52,7 +52,7 @@ jobs:
files: ./packages/guardian-prover-health-check/coverage.txt
flags: guardian-prover-health-check

push-docker-image:
push-guardian-prover-health-check-docker-image:
# only push docker image on PR merge to main
if: ${{ github.event }} == 'push'
name: Build and push docker image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
lint-relayer:
name: lint
name: lint-relayer
runs-on: [taiko-runner]
steps:
- uses: actions/setup-go@v5
Expand All @@ -30,7 +30,7 @@ jobs:

test-relayer:
runs-on: [taiko-runner]
needs: lint
needs: lint-relayer
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func (srv *Server) GetSignedBlocks(c echo.Context) error {

start, err = strconv.ParseUint(c.QueryParam("start"), 10, 64)
if err != nil {
log.Error("Failed to parse start", "error", err)
return echo.NewHTTPError(http.StatusBadRequest, err)
}
}
Expand Down
31 changes: 13 additions & 18 deletions packages/relayer/ERC1155Vault.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
[
{
"type": "function",
"name": "MAX_TOKEN_PER_TXN",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "acceptOwnership",
Expand Down Expand Up @@ -90,6 +77,19 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "impl",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "inNonReentrant",
Expand Down Expand Up @@ -1003,11 +1003,6 @@
"name": "VAULT_INVALID_TO_ADDR",
"inputs": []
},
{
"type": "error",
"name": "VAULT_MAX_TOKEN_PER_TXN_EXCEEDED",
"inputs": []
},
{
"type": "error",
"name": "VAULT_PERMISSION_DENIED",
Expand Down
13 changes: 13 additions & 0 deletions packages/relayer/ERC20Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,19 @@
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "impl",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "inNonReentrant",
Expand Down
31 changes: 13 additions & 18 deletions packages/relayer/ERC721Vault.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
[
{
"type": "function",
"name": "MAX_TOKEN_PER_TXN",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "acceptOwnership",
Expand Down Expand Up @@ -90,6 +77,19 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "impl",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "inNonReentrant",
Expand Down Expand Up @@ -959,11 +959,6 @@
"name": "VAULT_INVALID_TO_ADDR",
"inputs": []
},
{
"type": "error",
"name": "VAULT_MAX_TOKEN_PER_TXN_EXCEEDED",
"inputs": []
},
{
"type": "error",
"name": "VAULT_PERMISSION_DENIED",
Expand Down
13 changes: 13 additions & 0 deletions packages/relayer/QuotaManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "impl",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "inNonReentrant",
Expand Down
13 changes: 13 additions & 0 deletions packages/relayer/SignalService.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "impl",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "inNonReentrant",
Expand Down
36 changes: 36 additions & 0 deletions packages/relayer/TaikoL1.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,19 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "impl",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "inNonReentrant",
Expand Down Expand Up @@ -639,6 +652,19 @@
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "resetGenesisHash",
"inputs": [
{
"name": "_genesisBlockHash",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "resolve",
Expand Down Expand Up @@ -1943,6 +1969,16 @@
"name": "L1_RECEIVE_DISABLED",
"inputs": []
},
{
"type": "error",
"name": "L1_TOO_LATE",
"inputs": []
},
{
"type": "error",
"name": "L1_TOO_LATE",
"inputs": []
},
{
"type": "error",
"name": "L1_TOO_MANY_BLOCKS",
Expand Down
39 changes: 35 additions & 4 deletions packages/relayer/bindings/bridge/Bridge.go

Large diffs are not rendered by default.

Loading

0 comments on commit b801d78

Please sign in to comment.