Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
e8b8d225
Unverified
Commit
e8b8d225
authored
Sep 26, 2023
by
mergify[bot]
Committed by
GitHub
Sep 26, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into dependabot/npm_and_yarn/typescript-eslint/parser-6.7.3
parents
8656ba19
aa1bef3d
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
342 additions
and
60 deletions
+342
-60
package.json
package.json
+1
-1
Deploy.s.sol
packages/contracts-bedrock/scripts/Deploy.s.sol
+117
-38
Deployer.sol
packages/contracts-bedrock/scripts/Deployer.sol
+4
-0
pnpm-lock.yaml
pnpm-lock.yaml
+209
-18
consensus_poller.go
proxyd/consensus_poller.go
+6
-2
rewriter.go
proxyd/rewriter.go
+5
-1
No files found.
package.json
View file @
e8b8d225
...
...
@@ -65,7 +65,7 @@
"
markdownlint
"
:
"
^0.31.0
"
,
"
markdownlint-cli2
"
:
"
0.4.0
"
,
"
mocha
"
:
"
^10.2.0
"
,
"
nx
"
:
"
16.
8.1
"
,
"
nx
"
:
"
16.
9.0
"
,
"
nyc
"
:
"
^15.1.0
"
,
"
patch-package
"
:
"
^8.0.0
"
,
"
prettier
"
:
"
^2.8.0
"
,
...
...
packages/contracts-bedrock/scripts/Deploy.s.sol
View file @
e8b8d225
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/scripts/Deployer.sol
View file @
e8b8d225
...
...
@@ -115,6 +115,10 @@ abstract contract Deployer is Script {
string memory deploymentName = deployments[i].name;
string memory deployTx = _getDeployTransactionByContractAddress(addr);
if (bytes(deployTx).length == 0) {
console.log("Deploy Tx not found for %s skipping deployment artifact generation", deploymentName);
continue;
}
string memory contractName = _getContractNameFromDeployTransaction(deployTx);
console.log("Syncing deployment %s: contract %s", deploymentName, contractName);
...
...
pnpm-lock.yaml
View file @
e8b8d225
This diff is collapsed.
Click to expand it.
proxyd/consensus_poller.go
View file @
e8b8d225
...
...
@@ -261,7 +261,7 @@ func (cp *ConsensusPoller) UpdateBackend(ctx context.Context, be *Backend) {
}
// if backend is not healthy state we'll only resume checking it after ban
if
!
be
.
IsHealthy
()
{
if
!
be
.
IsHealthy
()
&&
!
be
.
forcedCandidate
{
log
.
Warn
(
"backend banned - not healthy"
,
"backend"
,
be
.
Name
)
cp
.
Ban
(
be
)
return
...
...
@@ -327,7 +327,7 @@ func (cp *ConsensusPoller) UpdateBackend(ctx context.Context, be *Backend) {
RecordBackendUnexpectedBlockTags
(
be
,
!
expectedBlockTags
)
if
!
expectedBlockTags
{
if
!
expectedBlockTags
&&
!
be
.
forcedCandidate
{
log
.
Warn
(
"backend banned - unexpected block tags"
,
"backend"
,
be
.
Name
,
"oldFinalized"
,
bs
.
finalizedBlockNumber
,
...
...
@@ -490,6 +490,10 @@ func (cp *ConsensusPoller) IsBanned(be *Backend) bool {
// Ban bans a specific backend
func
(
cp
*
ConsensusPoller
)
Ban
(
be
*
Backend
)
{
if
be
.
forcedCandidate
{
return
}
bs
:=
cp
.
backendState
[
be
]
defer
bs
.
backendStateMux
.
Unlock
()
bs
.
backendStateMux
.
Lock
()
...
...
proxyd/rewriter.go
View file @
e8b8d225
...
...
@@ -99,7 +99,11 @@ func rewriteParam(rctx RewriteContext, req *RPCReq, res *RPCRes, pos int, requir
return
RewriteNone
,
nil
}
val
,
rw
,
err
:=
rewriteTag
(
rctx
,
p
[
pos
]
.
(
string
))
s
,
ok
:=
p
[
pos
]
.
(
string
)
if
!
ok
{
return
RewriteOverrideError
,
errors
.
New
(
"expected string"
)
}
val
,
rw
,
err
:=
rewriteTag
(
rctx
,
s
)
if
err
!=
nil
{
return
RewriteOverrideError
,
err
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment