Skip to content

Commit

Permalink
Backport: bumps inc sdk v0.50.11 (2213-2215, 2217-2218, 2224-2226, 22…
Browse files Browse the repository at this point in the history
…30-2237, 2239-2240). (#2241)

* Bump cosmossdk.io/log from 1.4.1 to 1.5.0 (#2214)

* Bump cosmossdk.io/log from 1.4.1 to 1.5.0

Bumps [cosmossdk.io/log](https://github.com/cosmos/cosmos-sdk) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@log/v1.4.1...log/v1.5.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/log
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wedul <[email protected]>

* Bump golang.org/x/text from 0.19.0 to 0.20.0 (#2213)

* Bump golang.org/x/text from 0.19.0 to 0.20.0

Bumps [golang.org/x/text](https://github.com/golang/text) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Bump codecov/codecov-action from 4 to 5 (#2217)

* Bump codecov/codecov-action from 4 to 5

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Bump google.golang.org/protobuf from 1.35.1 to 1.35.2 (#2218)

* Bump google.golang.org/protobuf from 1.35.1 to 1.35.2

Bumps google.golang.org/protobuf from 1.35.1 to 1.35.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Bump cosmossdk.io/client/v2 from 2.0.0-beta.5 to 2.0.0-beta.6 (#2224)

* Bump cosmossdk.io/client/v2 from 2.0.0-beta.5 to 2.0.0-beta.6

Bumps [cosmossdk.io/client/v2](https://github.com/cosmos/cosmos-sdk) from 2.0.0-beta.5 to 2.0.0-beta.6.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@client/v2.0.0-beta.5...client/v2.0.0-beta.6)

---
updated-dependencies:
- dependency-name: cosmossdk.io/client/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Bump github.com/cosmos/cosmos-db from 1.0.2 to 1.1.0 (#2225)

* Bump github.com/cosmos/cosmos-db from 1.0.2 to 1.1.0

Bumps [github.com/cosmos/cosmos-db](https://github.com/cosmos/cosmos-db) from 1.0.2 to 1.1.0.
- [Changelog](https://github.com/cosmos/cosmos-db/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-db@v1.0.2...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/cosmos-db
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#2226)

* Bump github.com/stretchr/testify from 1.9.0 to 1.10.0

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

* Fix uses of NotSame which now fails if either isn't a pointer.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wedul <[email protected]>

* Bump google.golang.org/grpc from 1.67.1 to 1.68.0 (#2215)

* Bump google.golang.org/grpc from 1.67.1 to 1.68.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.1 to 1.68.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.67.1...v1.68.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Fix: Documentation Typos and Improve Clarity (#2232)

* typos Preauthorization.md

* typos grpcurl.md

* Update state-sync.md

* typos transaction_proposal.md

* Bump cosmossdk.io/client/v2 from 2.0.0-beta.6 to 2.0.0-beta.7 (#2231)

* Bump cosmossdk.io/client/v2 from 2.0.0-beta.6 to 2.0.0-beta.7

Bumps [cosmossdk.io/client/v2](https://github.com/cosmos/cosmos-sdk) from 2.0.0-beta.6 to 2.0.0-beta.7.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@client/v2.0.0-beta.6...client/v2.0.0-beta.7)

---
updated-dependencies:
- dependency-name: cosmossdk.io/client/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wedul <[email protected]>

* fix: Fix PKGS Variable Handling and Remove Duplicate set -e (#2236)

Co-authored-by: Daniel Wedul <[email protected]>

* Bump golang.org/x/crypto from 0.28.0 to 0.31.0 (#2233)

* Bump golang.org/x/crypto from 0.28.0 to 0.31.0

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.28.0 to 0.31.0.
- [Commits](golang/crypto@v0.28.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wedul <[email protected]>

* Bump cosmossdk.io/x/tx from 0.13.5 to 0.13.6 (#2234)

* Bump cosmossdk.io/x/tx from 0.13.5 to 0.13.6

Bumps [cosmossdk.io/x/tx](https://github.com/cosmos/cosmos-sdk) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@x/tx/v0.13.5...x/tx/v0.13.6)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/tx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Bump google.golang.org/protobuf from 1.35.2 to 1.36.0 (#2237)

* Bump google.golang.org/protobuf from 1.35.2 to 1.36.0

Bumps google.golang.org/protobuf from 1.35.2 to 1.36.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>

* Bump github.com/CosmWasm/wasmvm/v2 from 2.1.3 to 2.1.4 (#2230)

* Bump github.com/CosmWasm/wasmvm/v2 from 2.1.3 to 2.1.4

Bumps [github.com/CosmWasm/wasmvm/v2](https://github.com/CosmWasm/wasmvm) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/CosmWasm/wasmvm/releases)
- [Changelog](https://github.com/CosmWasm/wasmvm/blob/main/CHANGELOG.md)
- [Commits](CosmWasm/wasmvm@v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: github.com/CosmWasm/wasmvm/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wedul <[email protected]>

* Bump google.golang.org/grpc from 1.68.0 to 1.69.0 (#2235)

* Bump google.golang.org/grpc from 1.68.0 to 1.69.0

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.0 to 1.69.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.68.0...v1.69.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated Changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Wedul <[email protected]>

* Bump cosmos-sdk to v0.50.11-pio-1 (from v0.50.10-pio-1). (#2239)

* Bump cosmos-sdk to v0.50.11-pio-1 (from v0.50.10-pio-1).

* Add changelog entry.

* Update 3rd party protos since the sdk got bumped with a change to the staking query stuff.

* Remake the changelog file.

* Update buf.lock to latest commit hash (#2240)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cypher Pepe <[email protected]>
Co-authored-by: Dmitry <[email protected]>
Co-authored-by: provenanceio-bot <[email protected]>
  • Loading branch information
6 people authored Dec 18, 2024
1 parent a5c72eb commit 83451e8
Show file tree
Hide file tree
Showing 28 changed files with 169 additions and 105 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* `golang.org/x/sync` bumped to v0.9.0 (from v0.8.0) [PR 2213](https://github.com/provenance-io/provenance/pull/2213).
* `golang.org/x/text` bumped to v0.20.0 (from v0.19.0) [PR 2213](https://github.com/provenance-io/provenance/pull/2213).
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* `cosmossdk.io/log` bumped to v1.5.0 (from v1.4.1) [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
* `github.com/bytedance/sonic` added at v1.12.3 [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
* `github.com/bytedance/sonic/loader` added at v0.2.0 [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
* `github.com/cloudwego/base64x` added at v0.1.4 [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
* `github.com/cloudwego/iasm` added at v0.2.0 [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
* `github.com/klauspost/cpuid/v2` added at v2.2.4 [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
* `github.com/twitchyliquid64/golang-asm` added at v0.15.1 [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
* `golang.org/x/arch` added at v0.3.0 [PR 2214](https://github.com/provenance-io/provenance/pull/2214).
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `google.golang.org/genproto/googleapis/api` bumped to v0.0.0-20240903143218-8af14fe29dc1 (from v0.0.0-20240814211410-ddb44dafa142) [PR 2215](https://github.com/provenance-io/provenance/pull/2215).
* `google.golang.org/genproto/googleapis/rpc` bumped to v0.0.0-20240903143218-8af14fe29dc1 (from v0.0.0-20240814211410-ddb44dafa142) [PR 2215](https://github.com/provenance-io/provenance/pull/2215).
* `google.golang.org/grpc` bumped to v1.68.0 (from v1.67.1) [PR 2215](https://github.com/provenance-io/provenance/pull/2215).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `codecov/codecov-action` bumped to 5 (from 4) [PR 2217](https://github.com/provenance-io/provenance/pull/2217).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `google.golang.org/protobuf` bumped to v1.35.2 (from v1.35.1) [PR 2218](https://github.com/provenance-io/provenance/pull/2218).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `cosmossdk.io/client/v2` bumped to v2.0.0-beta.6 (from v2.0.0-beta.5) [PR 2224](https://github.com/provenance-io/provenance/pull/2224).
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* `github.com/cockroachdb/pebble` bumped to v1.1.2 (from v1.1.1) [PR 2225](https://github.com/provenance-io/provenance/pull/2225).
* `github.com/cosmos/cosmos-db` bumped to v1.1.0 (from v1.0.2) [PR 2225](https://github.com/provenance-io/provenance/pull/2225).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `github.com/stretchr/testify` bumped to v1.10.0 (from v1.9.0) [PR 2226](https://github.com/provenance-io/provenance/pull/2226).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `github.com/CosmWasm/wasmvm/v2` bumped to v2.1.4 (from v2.1.3) [PR 2230](https://github.com/provenance-io/provenance/pull/2230).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `cosmossdk.io/client/v2` bumped to v2.0.0-beta.7 (from v2.0.0-beta.6) [PR 2231](https://github.com/provenance-io/provenance/pull/2231).
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* `golang.org/x/crypto` bumped to v0.31.0 (from v0.28.0) [PR 2233](https://github.com/provenance-io/provenance/pull/2233).
* `golang.org/x/sync` bumped to v0.10.0 (from v0.9.0) [PR 2233](https://github.com/provenance-io/provenance/pull/2233).
* `golang.org/x/sys` bumped to v0.28.0 (from v0.26.0) [PR 2233](https://github.com/provenance-io/provenance/pull/2233).
* `golang.org/x/term` bumped to v0.27.0 (from v0.25.0) [PR 2233](https://github.com/provenance-io/provenance/pull/2233).
* `golang.org/x/text` bumped to v0.21.0 (from v0.20.0) [PR 2233](https://github.com/provenance-io/provenance/pull/2233).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `cosmossdk.io/x/tx` bumped to v0.13.6 (from v0.13.5) [PR 2234](https://github.com/provenance-io/provenance/pull/2234).
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* `cloud.google.com/go/compute/metadata` bumped to v0.5.2 (from v0.5.0) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
* `github.com/go-logr/logr` bumped to v1.4.2 (from v1.4.1) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
* `go.opentelemetry.io/otel` bumped to v1.31.0 (from v1.24.0) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
* `go.opentelemetry.io/otel/metric` bumped to v1.31.0 (from v1.24.0) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
* `go.opentelemetry.io/otel/trace` bumped to v1.31.0 (from v1.24.0) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
* `google.golang.org/genproto/googleapis/api` bumped to v0.0.0-20241015192408-796eee8c2d53 (from v0.0.0-20240903143218-8af14fe29dc1) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
* `google.golang.org/genproto/googleapis/rpc` bumped to v0.0.0-20241015192408-796eee8c2d53 (from v0.0.0-20240903143218-8af14fe29dc1) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
* `google.golang.org/grpc` bumped to v1.69.0 (from v1.68.0) [PR 2235](https://github.com/provenance-io/provenance/pull/2235).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `google.golang.org/protobuf` bumped to v1.36.0 (from v1.35.2) [PR 2237](https://github.com/provenance-io/provenance/pull/2237).
5 changes: 5 additions & 0 deletions .changelog/unreleased/dependencies/2239-bump-sdk-0-50-11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* `cosmossdk.io/depinject` bumped to v1.1.0 (from v1.0.0) [PR 2239](https://github.com/provenance-io/provenance/pull/2239).
* `cosmossdk.io/x/tx` bumped to v0.13.7 (from v0.13.6) [PR 2239](https://github.com/provenance-io/provenance/pull/2239).
* `github.com/cosmos/cosmos-sdk` bumped to v0.50.11-pio-1 of `github.com/provenance-io/cosmos-sdk` (from v0.50.10-pio-1 of `github.com/provenance-io/cosmos-sdk`) [PR 2239](https://github.com/provenance-io/provenance/pull/2239).
* `github.com/cosmos/iavl` bumped to v1.2.2 (from v1.2.0) but is still replaced by v1.2.0 of `github.com/cosmos/iavl` [PR 2239](https://github.com/provenance-io/provenance/pull/2239).
* `github.com/emicklei/dot` bumped to v1.6.2 (from v1.6.1) [PR 2239](https://github.com/provenance-io/provenance/pull/2239).
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
echo "Excluding ${filename} from coverage report..."
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
done
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
if: needs.setup-tests.outputs.should-run
with:
file: ./coverage.txt
Expand Down
3 changes: 1 addition & 2 deletions contrib/test_cover.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
set -e

PKGS=$(go list ./... | grep -v '/simapp')
PKGS=($(go list ./... | grep -v '/simapp'))

set -e
echo "mode: atomic" > coverage.txt
for pkg in ${PKGS[@]}; do
go test -v -timeout 30m -coverprofile=profile.out -covermode=atomic -tags='ledger test_ledger_mock' "$pkg"
Expand Down
2 changes: 1 addition & 1 deletion docs/Preauthorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In Provenance a user can pre-authorize another user to transfer a restricted coi
## Overview of how to do this
In order to grant authorization for a user to transfer restricted coin, a user can take advantage of the `grant-authz` command on the marker module. `provenanced tx marker grant-authz --help` can be used in order to view all of the possible flags and inputs. However, in order for it to run, it is necessary to give this command the address of the user that will be pre-authorized to conduct transfers, the type of action that is pre-authorized which in this case is `transfer`, a transfer-limit, and an address to sign the transaction with using the `--from` flag.

The flag `spend-limit` is used to set the total amount of coin that can be transfered. Each transfer will deduct from this total until it is exhausted at which point no more transfers can be made. However, the spend limit can be reset by the user doing another pre-authorize transaction. Note that this new spend limit does not take into account what has already been spent. So, for example if you grant permissions to transfer 100 coins and 50 are transfered and then you set a new spend limit of 75, that allows the user to now transfer 75 coins. The previously spent coins are not taken into account with the new spend limit.
The flag `spend-limit` is used to set the total amount of coin that can be transferred. Each transfer will deduct from this total until it is exhausted at which point no more transfers can be made. However, the spend limit can be reset by the user doing another pre-authorize transaction. Note that this new spend limit does not take into account what has already been spent. So, for example if you grant permissions to transfer 100 coins and 50 are transferred and then you set a new spend limit of 75, that allows the user to now transfer 75 coins. The previously spent coins are not taken into account with the new spend limit.

If a user wants to revoke authorization to transfer then they can use the `revoke-authz` command on the marker module. All the flags and inputs can be found with: `provenanced tx marker revoke-authz --help`. This command needs the address of the user whose authorization is being revoked, the type of action that is being revoked, and the signature of the address revoking permissions to itself with the `--from` flag.

Expand Down
2 changes: 1 addition & 1 deletion docs/grpcurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ grpcurl -plaintext localhost:9090 list

#### Describe service methods

Descrie available methods of the `bank` service.
Describe available methods of the `bank` service.

```shell
grpcurl \
Expand Down
2 changes: 1 addition & 1 deletion docs/state-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ cp $PIO_HOME/config/config.toml $PIO_HOME/config/config.toml.orig
# setup sync node
# PIO_RPC="$( host rpc.test.provenance.io | awk '{print $4}' ):26657"
# (Temporary workaround due to how the tesntet hosts are currently configured)
# (Temporary workaround due to how the testnet hosts are currently configured)
PIO_RPC=34.66.209.228:26657
# State Sync Configuration Options
Expand Down
8 changes: 4 additions & 4 deletions docs/transaction_proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In this tutorial we will learn how to submit a proposal and then vote on it. Pro
## Author
- Matthew Witkowski

## Prequisites
## Prerequisites
The reader should first have understanding of what Provenance is and how to use its CLI. Additionally, the user should have the following setup.

- A local Provence directory that can be built and run
Expand All @@ -30,7 +30,7 @@ This will allow users to vote on a proposal for a minute. This should be more th
A new proposal can be made if the voting time expires.

## Creating the Proposal
In order to propose we need a json file containing our messages to run if the proposal passes. We can make use of the `--generate-only` flag on a transaction to easily give us the JSON. In this example, the `wasm store` transaction is being proposed. The code for the contract will only be stored if the proposal passes. In order to obtain the JSON for this transaction the following command can be ran.
In order to propose we need a json file containing our messages to run if the proposal passes. We can make use of the `--generate-only` flag on a transaction to easily give us the JSON. In this example, the `wasm store` transaction is being proposed. The code for the contract will only be stored if the proposal passes. In order to obtain the JSON for this transaction the following command can be run.

`provenanced -t tx wasm store contract.wasm --from $ACCOUNT --gas auto --gas-adjustment 1.5 --gas-prices 1905nhash --instantiate-everybody "true" --generate-only`

Expand Down Expand Up @@ -72,7 +72,7 @@ The only remaining issue is the `sender`. In order for the transaction to pass i
Update the sender and save the file as `proposal.json`

## Proposing
The json file has been written to disk, but the proposal has not yet been sent out to Provenance. To propose it the following command can be ran:
The json file has been written to disk, but the proposal has not yet been sent out to Provenance. To propose it the following command can be run:

`provenanced -t tx gov submit-proposal proposal.json --gas-prices 1905nhash --gas auto --gas-adjustment 1.5 --from $ACCOUNT`

Expand All @@ -84,4 +84,4 @@ The proposal id in this example is 4 so the following transaction will vote on p
`provenanced -t tx gov vote 4 yes --from $ACCOUNT --gas auto --gas-adjustment 1.5 --gas-prices 1905nhash`

Lastly, proposal 4 can be monitored by using the following command. The proposal will eventually succeed or fail depending on the transaction message that was passed in.
`provenanced -t q gov proposal 4`
`provenanced -t q gov proposal 4`
57 changes: 32 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ go 1.23

require (
cosmossdk.io/api v0.7.6
cosmossdk.io/client/v2 v2.0.0-beta.5
cosmossdk.io/client/v2 v2.0.0-beta.7
cosmossdk.io/collections v0.4.0
cosmossdk.io/core v0.11.2
cosmossdk.io/errors v1.0.1
cosmossdk.io/log v1.4.1
cosmossdk.io/log v1.5.0
cosmossdk.io/math v1.4.0
cosmossdk.io/store v1.1.1
cosmossdk.io/x/circuit v0.1.1
cosmossdk.io/x/evidence v0.1.1
cosmossdk.io/x/feegrant v0.1.1
cosmossdk.io/x/tx v0.13.5
cosmossdk.io/x/tx v0.13.7
cosmossdk.io/x/upgrade v0.1.3
github.com/CosmWasm/wasmd v0.52.0
github.com/CosmWasm/wasmvm/v2 v2.1.3
github.com/CosmWasm/wasmvm/v2 v2.1.4
github.com/cometbft/cometbft v0.38.15
github.com/cometbft/cometbft-db v0.14.1
github.com/cosmos/cosmos-db v1.0.2
github.com/cosmos/cosmos-db v1.1.0
github.com/cosmos/cosmos-proto v1.0.0-beta.5
github.com/cosmos/cosmos-sdk v0.50.10
github.com/cosmos/go-bip39 v1.0.0
Expand All @@ -39,21 +39,21 @@ require (
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0
golang.org/x/text v0.19.0
google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142
google.golang.org/grpc v1.67.1
google.golang.org/protobuf v1.35.1
golang.org/x/text v0.21.0
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53
google.golang.org/grpc v1.69.0
google.golang.org/protobuf v1.36.0
sigs.k8s.io/yaml v1.4.0
)

require (
cloud.google.com/go v0.112.1 // indirect
cloud.google.com/go/compute/metadata v0.5.0 // indirect
cloud.google.com/go/compute/metadata v0.5.2 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
cloud.google.com/go/storage v1.38.0 // indirect
cosmossdk.io/depinject v1.0.0 // indirect
cosmossdk.io/depinject v1.1.0 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
Expand All @@ -64,19 +64,23 @@ require (
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
github.com/bits-and-blooms/bitset v1.8.0 // indirect
github.com/bytedance/sonic v1.12.3 // indirect
github.com/bytedance/sonic/loader v0.2.0 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/chzyer/readline v1.5.1 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
github.com/cockroachdb/errors v1.11.3 // indirect
github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/pebble v1.1.1 // indirect
github.com/cockroachdb/pebble v1.1.2 // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/gogogateway v1.2.0 // indirect
github.com/cosmos/iavl v1.2.0 // indirect
github.com/cosmos/iavl v1.2.2 // indirect
github.com/cosmos/ics23/go v0.11.0 // indirect
github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
Expand All @@ -89,15 +93,15 @@ require (
github.com/distribution/reference v0.5.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
github.com/emicklei/dot v1.6.1 // indirect
github.com/emicklei/dot v1.6.2 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/getsentry/sentry-go v0.27.0 // indirect
github.com/go-kit/kit v0.13.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/gogo/googleapis v1.4.1 // indirect
Expand Down Expand Up @@ -137,6 +141,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jmhodges/levigo v1.0.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lib/pq v1.10.9 // indirect
Expand Down Expand Up @@ -176,27 +181,29 @@ require (
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tidwall/btree v1.7.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/zondax/hid v0.9.2 // indirect
github.com/zondax/ledger-go v0.14.3 // indirect
go.etcd.io/bbolt v1.4.0-alpha.0.0.20240404170359-43604f3112c5 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/otel/trace v1.24.0 // indirect
go.opentelemetry.io/otel v1.31.0 // indirect
go.opentelemetry.io/otel/metric v1.31.0 // indirect
go.opentelemetry.io/otel/trace v1.31.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/term v0.27.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/api v0.171.0 // indirect
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand All @@ -212,7 +219,7 @@ replace (
// This is required for https://github.com/provenance-io/provenance/issues/1414
github.com/CosmWasm/wasmd => github.com/provenance-io/wasmd v0.52.0-pio-1

github.com/cosmos/cosmos-sdk => github.com/provenance-io/cosmos-sdk v0.50.10-pio-1
github.com/cosmos/cosmos-sdk => github.com/provenance-io/cosmos-sdk v0.50.11-pio-1

// Replace iavl to fix the node stop/start app hash problem. This can be removed once upstream is off v1.1.2
github.com/cosmos/iavl => github.com/cosmos/iavl v1.2.0
Expand Down
Loading

0 comments on commit 83451e8

Please sign in to comment.