Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: compact blocks prototype #3713

Draft
wants to merge 66 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
959a4b8
use celestia-core branch with compact blocks
cmwaters Jul 19, 2024
79cbec4
modify two node simple benchmark
cmwaters Jul 19, 2024
b9408ed
Merge branch 'main' into cal/compact-blocks
cmwaters Jul 19, 2024
6f5018e
update go mod
cmwaters Jul 22, 2024
0d92d07
start the tx client later
cmwaters Jul 23, 2024
fe475f1
make some modifications to e2e simple
cmwaters Jul 23, 2024
1584726
use latest compact blocks changes
cmwaters Jul 24, 2024
dd0c28d
Merge branch 'main' into cal/compact-blocks
cmwaters Jul 24, 2024
a7ea55b
add docker container version
cmwaters Jul 24, 2024
12d9412
bump go mod
cmwaters Jul 29, 2024
5b4d614
udpate metric gathering
cmwaters Jul 30, 2024
28f3f03
fix metrics
cmwaters Jul 30, 2024
3cb2353
panic in ante handler with 0 version
cmwaters Jul 30, 2024
9bc97a2
checkpoint
cmwaters Jul 30, 2024
a8007d8
checkpoint
cmwaters Jul 30, 2024
e4563ba
checkpoint
cmwaters Jul 31, 2024
75e4ea6
checkpoint
cmwaters Jul 31, 2024
76c34d6
checkpoint
cmwaters Aug 1, 2024
bc97f50
checkpoint
cmwaters Aug 8, 2024
6f42cdf
Merge branch 'main' into cal/compact-blocks
cmwaters Aug 8, 2024
66b38d5
checkpoint
cmwaters Aug 9, 2024
0c3586b
checkpoint
cmwaters Aug 9, 2024
e1d7500
checkpoint
cmwaters Aug 9, 2024
729e0a1
checkpoint
cmwaters Aug 12, 2024
bbce586
checkpoint
cmwaters Aug 13, 2024
0ab0600
checkpoint
cmwaters Aug 13, 2024
c22c574
checkpoint
cmwaters Aug 13, 2024
6c85542
checkpoint
cmwaters Aug 14, 2024
b1018cd
Merge branch 'main' into cal/compact-blocks
cmwaters Aug 14, 2024
17c3665
checkpoint
cmwaters Aug 14, 2024
7e9dcd4
fix msg gatekeeper
cmwaters Aug 14, 2024
f4a6dbb
checkpoint
cmwaters Aug 14, 2024
a0e20e0
Merge branch 'main' into cal/compact-blocks
cmwaters Aug 14, 2024
a161691
checkpoint
cmwaters Aug 14, 2024
d57d1af
checkpoint
cmwaters Aug 15, 2024
87d3e21
checkpoint
cmwaters Aug 16, 2024
02b512f
checkpoint
cmwaters Aug 16, 2024
d6729fa
checkpoint
cmwaters Aug 20, 2024
4ab6269
Merge branch 'main' into cal/compact-blocks
cmwaters Aug 20, 2024
1c088cd
fix compile errors
cmwaters Aug 20, 2024
937d100
checkpoint
cmwaters Aug 22, 2024
f05744e
checkpoint
cmwaters Aug 26, 2024
44110b0
checkpoint
cmwaters Aug 26, 2024
d4ba7a0
checkpoint
cmwaters Aug 28, 2024
2dd6eff
Merge branch 'main' into cal/compact-blocks
cmwaters Aug 28, 2024
8a062d2
checkpoint
cmwaters Aug 30, 2024
754d16c
checkpoint
cmwaters Aug 30, 2024
beed88a
checkpoint
cmwaters Aug 30, 2024
116d63d
checkpoint
cmwaters Aug 30, 2024
a84eaf9
introduce option to allow txsim to ignore submission errors
cmwaters Aug 30, 2024
9d4cb4a
update txsim
cmwaters Sep 2, 2024
ba55c12
fix txsim cli
cmwaters Sep 2, 2024
791afc3
checkpoint
cmwaters Sep 3, 2024
6a6ea1f
checkpoint
cmwaters Sep 3, 2024
4858de1
checkpoint
cmwaters Sep 5, 2024
c57acbc
Merge branch 'main' into cal/compact-blocks
cmwaters Sep 5, 2024
d8ade3c
checkpoint
cmwaters Sep 5, 2024
f359e10
checkpoint
cmwaters Sep 6, 2024
7c52cbc
checkpoint
cmwaters Sep 6, 2024
66c2208
checkpoint
cmwaters Sep 6, 2024
2f05007
checkpoint
cmwaters Sep 6, 2024
43ecd7e
checkpoint
cmwaters Sep 9, 2024
d937bd8
update
cmwaters Oct 28, 2024
681e04d
Merge branch 'main' into cal/compact-blocks
cmwaters Nov 1, 2024
86d3e0d
Merge branch 'main' into cal/compact-blocks
cmwaters Nov 1, 2024
0e61251
converge a little closer to main
cmwaters Nov 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into cal/compact-blocks
cmwaters committed Nov 1, 2024
commit 681e04d15ff4a905160301ef3684ed171706ee80
4 changes: 0 additions & 4 deletions .github/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,3 @@ options:
ignored_keywords:
- DO NOT REVIEW
enable_group_assignment: false

# Randomly pick reviewers up to this number.
# Do not set this option if you'd like to assign all matching reviewers.
number_of_reviewers: 2
16 changes: 16 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -15,3 +15,19 @@ pull_request_rules:
backport:
branches:
- v2.x
- name: forward-port patches to main branch (v1.x)
conditions:
- base=v1.x
- label=forwardport:main
actions:
backport:
branches:
- main
- name: forward-port patches to main branch (v2.x)
conditions:
- base=v2.x
- label=forwardport:main
actions:
backport:
branches:
- main
7 changes: 2 additions & 5 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
@@ -6,12 +6,9 @@ on:
push:
branches:
- main
- "v[0-9]+.x"
- "v*"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
- "v*"
pull_request:

jobs:
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -13,9 +13,9 @@ name: "CodeQL"

on:
push:
branches: ["main", "v[0-9].[0-9].x", "v[0-9].[0-9][0-9].x", "v[0-9].x"]
branches: ["main", "v*"]
schedule:
- cron: '24 20 * * 4'
- cron: "24 20 * * 4"

jobs:
analyze:
@@ -25,7 +25,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
timeout-minutes: 360
permissions:
actions: read
@@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['go']
language: ["go"]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
@@ -56,7 +56,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Build binary
run: |
14 changes: 0 additions & 14 deletions .github/workflows/create_release_tracking_epic.yml

This file was deleted.

25 changes: 14 additions & 11 deletions .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
@@ -5,32 +5,35 @@ on:
push:
branches:
- "main"
- "v[0-9].[0-9].x"
- "v[0-9].[0-9][0-9].x"
- "v[0-9].x"
- "v*"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
- "v*"
pull_request:
workflow_dispatch:
inputs:
ref:
description: "The checkout reference (ie tag, branch, sha)"
required: true
type: string

jobs:
docker-security-build:
permissions:
contents: write
packages: write
uses: celestiaorg/.github/.github/workflows/[email protected].3
uses: celestiaorg/.github/.github/workflows/[email protected].6
with:
dockerfile: Dockerfile
dockerfile: docker/Dockerfile
checkout_ref: ${{ github.event.inputs.ref }}
secrets: inherit

docker-txsim-build:
permissions:
contents: write
packages: write
uses: celestiaorg/.github/.github/workflows/[email protected].3
uses: celestiaorg/.github/.github/workflows/[email protected].6
with:
dockerfile: docker/Dockerfile_txsim
dockerfile: docker/txsim/Dockerfile
packageName: txsim
checkout_ref: ${{ github.event.inputs.ref }}
secrets: inherit
11 changes: 6 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -20,20 +20,21 @@ jobs:
**/**.go
go.mod
go.sum
- uses: golangci/[email protected].0
- uses: golangci/[email protected].1
with:
version: v1.59.1
version: v1.61.0
args: --timeout 10m
github-token: ${{ secrets.github_token }}
skip-pkg-cache: true
if: env.GIT_DIFF

# hadolint lints the Dockerfile
hadolint:
uses: celestiaorg/.github/.github/workflows/[email protected]
uses: celestiaorg/.github/.github/workflows/[email protected]
with:
dockerfile: "docker/Dockerfile"

yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: celestiaorg/.github/.github/actions/[email protected].3
- uses: celestiaorg/.github/.github/actions/[email protected].6
2 changes: 1 addition & 1 deletion .github/workflows/pr-review-requester.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ on:
jobs:
auto-request-review:
name: Auto request reviews
uses: celestiaorg/.github/.github/workflows/[email protected].3
uses: celestiaorg/.github/.github/workflows/[email protected].6
secrets: inherit
# write access for issues and pull requests is needed because the called
# workflow requires write access to issues and pull requests and the
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ jobs:
run: make test-coverage

- name: Upload coverage.txt
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v4.6.0
with:
file: ./coverage.txt

2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ run:

linters:
enable:
- exportloopref
- copyloopvar
- gofumpt
- misspell
- nakedret
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ archives:
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
@@ -118,4 +118,4 @@ changelog:
release:
prerelease: auto
git:
prerelease_suffix: "-rc"
prerelease_suffix: "-"
49 changes: 40 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
VERSION := $(shell echo $(shell git describe --tags 2>/dev/null || git log -1 --format='%h') | sed 's/^v//')
# GIT_TAG is an environment variable that is set to the latest git tag on the
# current commit with the following example priority: v2.2.0, v2.2.0-mocha,
# v2.2.0-arabica, v2.2.0-rc0, v2.2.0-beta, v2.2.0-alpha. If no tag points to the
# current commit, git describe is used. The priority in this command is
# necessary because `git tag --sort=-creatordate` only works for annotated tags
# with metadata. Git tags created via GitHub releases are not annotated and do
# not have metadata like creatordate. Therefore, this command is a hacky attempt
# to get the most recent tag on the current commit according to Celestia's
# testnet versioning scheme + SemVer.
GIT_TAG := $(shell git tag --points-at HEAD --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$$' \
|| git tag --points-at HEAD --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+-mocha$$' \
|| git tag --points-at HEAD --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+-arabica$$' \
|| git tag --points-at HEAD --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]*$$' \
|| git tag --points-at HEAD --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+-(beta)$$' \
|| git tag --points-at HEAD --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+-(alpha)$$' \
|| git describe --tags)
VERSION := $(shell echo $(GIT_TAG) | sed 's/^v//')
COMMIT := $(shell git rev-parse --short HEAD)
DOCKER := $(shell which docker)
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf
@@ -7,13 +23,21 @@ DOCKER_PROTO_BUILDER := docker run -v $(shell pwd):/workspace --workdir /workspa
PROJECTNAME=$(shell basename "$(PWD)")
HTTPS_GIT := https://github.com/celestiaorg/celestia-app.git
PACKAGE_NAME := github.com/celestiaorg/celestia-app/v3
GOLANG_CROSS_VERSION ?= v1.22.6
# Before upgrading the GOLANG_CROSS_VERSION, please verify that a Docker image exists with the new tag.
# See https://github.com/goreleaser/goreleaser-cross/pkgs/container/goreleaser-cross
GOLANG_CROSS_VERSION ?= v1.23.1
# Set this to override the max square size of the binary
OVERRIDE_MAX_SQUARE_SIZE ?=
# Set this to override the upgrade height delay of the binary
OVERRIDE_UPGRADE_HEIGHT_DELAY ?=

# process linker flags
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=celestia-app \
-X github.com/cosmos/cosmos-sdk/version.AppName=celestia-appd \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X github.com/celestiaorg/celestia-app/v3/pkg/appconsts.OverrideSquareSizeUpperBoundStr=$(OVERRIDE_MAX_SQUARE_SIZE) \
-X github.com/celestiaorg/celestia-app/v3/pkg/appconsts.OverrideUpgradeHeightDelayStr=$(OVERRIDE_UPGRADE_HEIGHT_DELAY)

BUILD_FLAGS := -tags "ledger" -ldflags '$(ldflags)'

@@ -31,7 +55,7 @@ build: mod
.PHONY: build

## install: Build and install the celestia-appd binary into the $GOPATH/bin directory.
install: go.sum check-bbr
install: check-bbr
@echo "--> Installing celestia-appd"
@go install $(BUILD_FLAGS) ./cmd/celestia-appd
.PHONY: install
@@ -77,13 +101,13 @@ proto-format:
## build-docker: Build the celestia-appd docker image from the current branch. Requires docker.
build-docker:
@echo "--> Building Docker image"
$(DOCKER) build -t celestiaorg/celestia-app -f Dockerfile .
$(DOCKER) build -t celestiaorg/celestia-app -f docker/Dockerfile .
.PHONY: build-docker

## build-ghcr-docker: Build the celestia-appd docker image from the last commit. Requires docker.
build-ghcr-docker:
@echo "--> Building Docker image"
$(DOCKER) build -t ghcr.io/celestiaorg/celestia-app:$(COMMIT) -f Dockerfile .
$(DOCKER) build -t ghcr.io/celestiaorg/celestia-app:$(COMMIT) -f docker/Dockerfile .
.PHONY: build-ghcr-docker

## publish-ghcr-docker: Publish the celestia-appd docker image. Requires docker.
@@ -100,7 +124,8 @@ lint:
@echo "--> Running markdownlint"
@markdownlint --config .markdownlint.yaml '**/*.md'
@echo "--> Running hadolint"
@hadolint Dockerfile
@hadolint docker/Dockerfile
@hadolint docker/txsim/Dockerfile
@echo "--> Running yamllint"
@yamllint --no-warnings . -c .yamllint.yml
.PHONY: lint
@@ -143,7 +168,7 @@ test-race:
# TODO: Remove the -skip flag once the following tests no longer contain data races.
# https://github.com/celestiaorg/celestia-app/issues/1369
@echo "--> Running tests in race mode"
@go test ./... -v -race -skip "TestPrepareProposalConsistency|TestIntegrationTestSuite|TestBlobstreamRPCQueries|TestSquareSizeIntegrationTest|TestStandardSDKIntegrationTestSuite|TestTxsimCommandFlags|TestTxsimCommandEnvVar|TestMintIntegrationTestSuite|TestBlobstreamCLI|TestUpgrade|TestMaliciousTestNode|TestBigBlobSuite|TestQGBIntegrationSuite|TestSignerTestSuite|TestPriorityTestSuite|TestTimeInPrepareProposalContext|TestBlobstream|TestCLITestSuite|TestLegacyUpgrade|TestSignerTwins|TestConcurrentTxSubmission|TestTxClientTestSuite|Test_testnode"
@go test -timeout 15m ./... -v -race -skip "TestPrepareProposalConsistency|TestIntegrationTestSuite|TestBlobstreamRPCQueries|TestSquareSizeIntegrationTest|TestStandardSDKIntegrationTestSuite|TestTxsimCommandFlags|TestTxsimCommandEnvVar|TestMintIntegrationTestSuite|TestBlobstreamCLI|TestUpgrade|TestMaliciousTestNode|TestBigBlobSuite|TestQGBIntegrationSuite|TestSignerTestSuite|TestPriorityTestSuite|TestTimeInPrepareProposalContext|TestBlobstream|TestCLITestSuite|TestLegacyUpgrade|TestSignerTwins|TestConcurrentTxSubmission|TestTxClientTestSuite|Test_testnode|TestEvictions"
.PHONY: test-race

## test-bench: Run unit tests in bench mode.
@@ -180,7 +205,7 @@ txsim-build:

## txsim-build-docker: Build the tx simulator Docker image. Requires Docker.
txsim-build-docker:
docker build -t ghcr.io/celestiaorg/txsim -f docker/Dockerfile_txsim .
docker build -t ghcr.io/celestiaorg/txsim -f docker/txsim/Dockerfile .
.PHONY: txsim-build-docker

## adr-gen: Download the ADR template from the celestiaorg/.github repo.
@@ -246,4 +271,10 @@ enable-bbr:
else \
echo "BBR is already enabled."; \
fi
.PHONY: enable-bbr
.PHONY: enable-bbr

## debug-version: Print the git tag and version.
debug-version:
@echo "GIT_TAG: $(GIT_TAG)"
@echo "VERSION: $(VERSION)"
.PHONY: debug-version
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ node | | | |

### Source

1. [Install Go](https://go.dev/doc/install) 1.22.6
1. [Install Go](https://go.dev/doc/install) 1.23.1
1. Clone this repo
1. Install the celestia-app CLI

@@ -84,7 +84,7 @@ system's kernel. The result should contain `bbr`:
sysctl net.ipv4.tcp_congestion_control
```

If not, enable it on Linux by calling the `make use-bbr` or by running:
If not, enable it on Linux by calling the `make enable-bbr` or by running:

```sh
sudo modprobe tcp_bbr
@@ -134,7 +134,7 @@ This repo contains multiple go modules. When using it, rename `go.work.example`

### Tools

1. Install [golangci-lint](https://golangci-lint.run/welcome/install) 1.59.1
1. Install [golangci-lint](https://golangci-lint.run/welcome/install) 1.61.0
1. Install [markdownlint](https://github.com/DavidAnson/markdownlint) 0.39.0
1. Install [hadolint](https://github.com/hadolint/hadolint)
1. Install [yamllint](https://yamllint.readthedocs.io/en/stable/quickstart.html)
@@ -169,8 +169,9 @@ Package-specific READMEs aim to explain implementation details for developers th

## Audits

| Date | Auditor | Version | Report |
|------------|-----------------------------------------------|-------------------------------------------------------------------------------------|---------------------------------------------------------------|
| 2023/9/15 | [Informal Systems](https://informal.systems/) | [v1.0.0-rc6](https://github.com/celestiaorg/celestia-app/releases/tag/v1.0.0-rc6) | [informal-systems.pdf](docs/audit/informal-systems.pdf) |
| 2023/10/17 | [Binary Builders](https://binary.builders/) | [v1.0.0-rc10](https://github.com/celestiaorg/celestia-app/releases/tag/v1.0.0-rc10) | [binary-builders.pdf](docs/audit/binary-builders.pdf) |
| 2024/7/1 | [Informal Systems](https://informal.systems/) | [v2.0.0-rc1](https://github.com/celestiaorg/celestia-app/releases/tag/v2.0.0-rc1) | [informal-systems-v2.pdf](docs/audit/informal-systems-v2.pdf) |
| Date | Auditor | Version | Report |
|------------|-----------------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|
| 2023/9/15 | [Informal Systems](https://informal.systems/) | [v1.0.0-rc6](https://github.com/celestiaorg/celestia-app/releases/tag/v1.0.0-rc6) | [informal-systems.pdf](docs/audit/informal-systems.pdf) |
| 2023/10/17 | [Binary Builders](https://binary.builders/) | [v1.0.0-rc10](https://github.com/celestiaorg/celestia-app/releases/tag/v1.0.0-rc10) | [binary-builders.pdf](docs/audit/binary-builders.pdf) |
| 2024/7/1 | [Informal Systems](https://informal.systems/) | [v2.0.0-rc1](https://github.com/celestiaorg/celestia-app/releases/tag/v2.0.0-rc1) | [informal-systems-v2.pdf](docs/audit/informal-systems-v2.pdf) |
| 2024/9/20 | [Informal Systems](https://informal.systems/) | [306c587](https://github.com/celestiaorg/celestia-app/commit/306c58745d135d31c3777a1af2f58d50adbd32c8) | [informal-systems-authored-blobs.pdf](docs/audit/informal-systems-authored-blobs.pdf) |
4 changes: 3 additions & 1 deletion app/ante/ante.go
Original file line number Diff line number Diff line change
@@ -32,6 +32,8 @@ func NewAnteHandler(
// Set up the context with a gas meter.
// Must be called before gas consumption occurs in any other decorator.
ante.NewSetUpContextDecorator(),
// Ensure the tx is not larger than the configured threshold.
NewMaxTxSizeDecorator(),
// Ensure the tx does not contain any extension options.
ante.NewExtensionOptionsDecorator(nil),
// Ensure the tx passes ValidateBasic.
@@ -42,7 +44,7 @@ func NewAnteHandler(
ante.NewValidateMemoDecorator(accountKeeper),
// Ensure the tx's gas limit is > the gas consumed based on the tx size.
// Side effect: consumes gas from the gas meter.
ante.NewConsumeGasForTxSizeDecorator(accountKeeper),
NewConsumeGasForTxSizeDecorator(accountKeeper),
// Ensure the feepayer (fee granter or first signer) has enough funds to pay for the tx.
// Ensure the gas price >= network min gas price if app version >= 2.
// Side effect: deducts fees from the fee payer. Sets the tx priority in context.
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.