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

Commit

Permalink
Merge branch 'main' into rename-qgb-to-blobstream
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Oct 12, 2023
2 parents 2bab64e + 92a3087 commit 66740ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/scripts/start_relayer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ done
# this will introduce flakiness but it's gonna be complicated to wait for validators to be created
# and also waiting for them to change their addresses in bash. Also, depending on the testing scenarios,
# the network topology varies. So, the best we can do now is sleep.
sleep 60s
sleep 120s

# check whether to deploy a new contract or use an existing one
if [[ -z "${BLOBSTREAM_CONTRACT}" ]]
Expand Down
4 changes: 4 additions & 0 deletions orchestrator/orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ func (orch Orchestrator) Process(ctx context.Context, nonce uint64) error {
return celestiatypes.ErrAttestationNotFound
}

if nonce == 1 {
// there is no need to sign nonce 1 as the Blobstream contract will trust it when deploying.
return nil
}
// check if we need to sign or not
if nonce != 1 {
previousValset, err := orch.AppQuerier.QueryLastValsetBeforeNonce(ctx, att.GetNonce())
Expand Down

0 comments on commit 66740ca

Please sign in to comment.