Skip to content

Commit

Permalink
chore: minor comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Dec 21, 2023
1 parent aedfc40 commit 3d62d05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,16 @@ cover-html: test-unit-cover
@echo "--> Opening in the browser"
@go tool cover -html=$(TEST_COVERAGE_PROFILE)

ifdef GITHUB_TOKEN
docker-build-e2e:
@docker build \
--build-arg GITHUB_TOKEN=$(GITHUB_TOKEN) \
-t sedaprotocol/seda-chaind-e2e \
-f dockerfiles/Dockerfile.e2e .
else
docker-build-e2e:
@echo "Error: GITHUB_TOKEN variable required to build e2e image"
endif

.PHONY: cover-html run-tests $(TEST_TARGETS) test test-race docker-build-e2e

Expand Down
3 changes: 2 additions & 1 deletion x/randomness/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (h *ProposalHandler) PrepareProposalHandler(
return nil, fmt.Errorf("vrf signer is nil")
}

// Default prepare proposal - check max block gas and req.MaxTxBytes
// default prepare proposal - check max block gas and req.MaxTxBytes
var maxBlockGas uint64
if b := ctx.ConsensusParams().Block; b != nil {
maxBlockGas = uint64(b.MaxGas)
Expand Down Expand Up @@ -132,6 +132,7 @@ func (h *ProposalHandler) ProcessProposalHandler(
}
}

// process the NewSeed tx
tx, err := h.txVerifier.TxDecode(req.Txs[0])
if err != nil {
return nil, err
Expand Down

0 comments on commit 3d62d05

Please sign in to comment.