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

chore: upgrade v0.45.9 #135

Merged
merged 20 commits into from
Nov 30, 2022
Merged

chore: upgrade v0.45.9 #135

merged 20 commits into from
Nov 30, 2022

Conversation

MissingNO57
Copy link
Collaborator

No description provided.

mergify bot and others added 14 commits October 17, 2022 12:37
…kport #13107) (#13109)

* fix: call `SetIAVLCacheSize` with the configured value in simapp (#13107)

* Call `SetIAVLCacheSize` with the configured value in simapp.

* Update CHANGELOG.md

(cherry picked from commit ab33342)

# Conflicts:
#	CHANGELOG.md
#	simapp/simd/cmd/root.go

* fix conflicts

Co-authored-by: yihuang <huang@crypto.com>
… (backport #12742) (#13120)

* feat: Add a cli cmd to prune old states according to current settings (#12742)

* add PruningCmd and change PruneStores signature

* the mimimum default pruning interval is 10

Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit d874ace)

# Conflicts:
#	CHANGELOG.md
#	store/rootmulti/store.go

* fix backport error and conflicts

Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
Co-authored-by: adu <adu.du@crypto.com>
* feat: configurable fastnode (#13321)

(cherry picked from commit 412e2fc)

# Conflicts:
#	CHANGELOG.md
#	fuzz/tests/store_internal_proofs_createnonmembershipproof_test.go
#	go.mod
#	go.sum
#	server/config/config.go
#	server/config/toml.go
#	simapp/go.mod
#	simapp/go.sum
#	store/rootmulti/store.go
#	tests/go.mod
#	tests/go.sum

* fix conflicts

Co-authored-by: Marko <marbar3778@yahoo.com>
…drawal (backport #13323) (#13340)

* fix: ensure withdraw_rewards events are always emitted on reward withdrawal (#13323)

(cherry picked from commit c1c23a7)

# Conflicts:
#	CHANGELOG.md
#	tests/integration/distribution/keeper/delegation_test.go
#	testutil/sims/app_helpers.go
#	x/distribution/keeper/delegation.go
#	x/distribution/keeper/delegation_test.go
#	x/distribution/keeper/keeper.go

* fix conflicts

* move changelog to right place

* fix typo

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
* imp(keyring): improve UX for keyring.List

* use offline info in case of error

* Delete .dccache

* c++

* conflicts
…entation, and configuration (#8664) (#13326)

* feat: ADR-038 Part 2: StreamingService interface, file writing implementation, and configuration (#8664)

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v                               ✰  Thanks for creating a PR! ✰
v    Before smashing the submit button please review the checkboxes.
v    If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  -->

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review.
-->

Hello 👋 this PR introduces the second stage of changes to support [ADR-038](cosmos/cosmos-sdk#8012) state listening. This is rebased on top of the [first segment](cosmos/cosmos-sdk#8551), which introduces the low level changes to the MultiStore and KVStore interfaces and implementations, the new WriteListener types, and the new listen.KVStore type.

In this segment we introduce the StreamingService interface, an implementation that writes out to files, and it's integration and configuration at the BaseApp level.

The idea was to have the first segment reviewed independently first but if people think it is easier/more time efficient to review both at the same time then we could start here.

Thanks!

This work is towards satisfying [ADR-038](https://github.com/cosmos/cosmos-sdk/blob/master/docs/architecture/adr-038-state-listening.md)
…(#13463)

* fix: state listener could observe discarded writes (#13459)

* fix: state listener could observe uncommitted writes

Closes: #13457

don't pass listeners to nested cached store,
only the most inner layer's cache writes should be observed.

* Update CHANGELOG.md

* add unit test

* rename

Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit bb54c59)

# Conflicts:
#	CHANGELOG.md

* fixes

* gofumpt

* gofumpt

* updates

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
* fix iavl fast node migration to false

* changelog entry
Dragonberry 🐉 🍓

Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Ethan Buchman <ethan@coinculture.info>
Co-authored-by: Nicolas Lara <nicolaslara@gmail.com>
Co-authored-by: Roman <34196718+p0mvn@users.noreply.github.com>
Co-authored-by: Roman <roman@osmosis.team>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: emidev98 <49301655+emidev98@users.noreply.github.com>

Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Nicolas Lara <nicolaslara@gmail.com>
Co-authored-by: Roman <34196718+p0mvn@users.noreply.github.com>
Co-authored-by: Roman <roman@osmosis.team>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: emidev98 <49301655+emidev98@users.noreply.github.com>
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2022

Codecov Report

Merging #135 (40d0b70) into main (477dadd) will decrease coverage by 0.22%.
The diff coverage is 37.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
- Coverage   60.69%   60.46%   -0.23%     
==========================================
  Files         597      598       +1     
  Lines       38570    38755     +185     
==========================================
+ Hits        23410    23434      +24     
- Misses      13188    13351     +163     
+ Partials     1972     1970       -2     
Impacted Files Coverage Δ
baseapp/msg_service_router.go 75.92% <0.00%> (-9.50%) ⬇️
baseapp/options.go 62.33% <0.00%> (-2.53%) ⬇️
client/keys/add.go 70.34% <ø> (ø)
codec/amino_codec.go 100.00% <ø> (ø)
codec/proto_codec.go 73.41% <ø> (ø)
codec/types/any.go 55.88% <ø> (ø)
crypto/hd/hdpath.go 98.49% <ø> (ø)
crypto/keys/multisig/codec.go 100.00% <ø> (ø)
crypto/keys/secp256k1/internal/secp256k1/curve.go 14.61% <0.00%> (ø)
...ys/secp256k1/internal/secp256k1/scalar_mult_cgo.go 77.77% <ø> (ø)
... and 114 more

@MissingNO57 MissingNO57 changed the base branch from master to main October 18, 2022 11:42
@MissingNO57 MissingNO57 merged commit 487cff7 into main Nov 30, 2022
@MissingNO57 MissingNO57 deleted the upgrade_v0.45.9 branch November 30, 2022 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants