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

Evan/re add default consensus params #17617

Closed

Conversation

evan-forbes
Copy link

Description

we [afaiu] accidently removed our ability to change the default consesus parameters in #339

this PR re-cherry-picks #317 to fix

adlerjohn and others added 30 commits July 26, 2022 15:59
… balance for a given denom (backport cosmos#12674) (cosmos#12744)

* feat: Add convenience method for constructing key to access account's balance for a given denom (cosmos#12674)

This PR adds a convenience method for constructing the key necessary to query for the account's balance of a given denom.

I ran into this issue since we are using ABCI query now to perform balance requests because we are also requesting merkle proofs for the returned balance [here](https://github.com/celestiaorg/celestia-node/pull/911/files#diff-0ee31f5a7bd88e9f758e6bebdf3ee36365519e55a451098d9638c39afe5eac42R144).

It would be nice to have a definitive convenience method for constructing the key.

[Ref.](github.com/celestiaorg/celestia-node/pull/911)

(cherry picked from commit a1777a8)

* updates changelog

Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
…ges (backport cosmos#12615) (cosmos#12792)

* feat: Add GetParamSetIfExists to prevent panic on breaking param changes (cosmos#12615)

* imp(params): Add GetParamSetIfExists to prevent panic on breaking param changes

* changelog

* test

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

# Conflicts:
#	CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
…lease

chore: create a v0.46.0 release branch with celestia specific changes
* adds orchestrator address to validator initialization in staking module

* fix msg edit  validator

* todo

* todo
…r struct (#133)

* first pass on tests fixes

* fixes the rest of unit tests

* remove unnecessary comments

* uses default eth address when starting sim network

* cosmetics

* comments failing test

* comments failing test

* uncomments test and fixes it from commit 434b308

* remove wrong testnet initialization
* first pass on tests fixes

* fixes the rest of unit tests

* remove unnecessary comments

* uses default eth address when starting sim network

* cosmetics

* comments failing test

* comments failing test

* adds orchestrator/ethereum address checks for validators when creating and editing

* uses correct error codes for eth/orch address errors

* uncomments test and fixes it from commit 434b308

* adds zero eth address check when creating/updating validator

* attempts to fix duplicate eth address in sim network

* revert squashed changes

* uses unwrapped context for msg_server orch/eth validation

* increase DefaultGenTxGas to accomodate new qgb validator changes

* scaffolds an ethereum address from orchestrator address in staking simulation to have a deterministic way of creating it

* fix eth address creation from orch address in operations

* increase DefaultGenTxGas

* increase DefaultGenTxGas

* simpler way of creating an eth address from orch address in operations
* first pass on tests fixes

* fixes the rest of unit tests

* remove unnecessary comments

* uses default eth address when starting sim network

* cosmetics

* comments failing test

* comments failing test

* adds orchestrator/ethereum address checks for validators when creating and editing

* uses correct error codes for eth/orch address errors

* uncomments test and fixes it from commit 434b308

* updates tests to be able to set orch/eth address when creating validators

* adds zero eth address check when creating/updating validator

* attempts to fix duplicate eth address in sim network

* adds validator check tests

* revert squashed changes

* uses unwrapped context for msg_server orch/eth validation

* increase DefaultGenTxGas to accomodate new qgb validator changes

* scaffolds an ethereum address from orchestrator address in staking simulation to have a deterministic way of creating it

* fix eth address creation from orch address in operations

* increase DefaultGenTxGas

* increase DefaultGenTxGas

* remove unnecessary eth address
* remove EthAddress and use geth address

* adding checks on ethereum address when creating it

* fix ethereum address init when creating validator

* fix edit validator
go mod tidy

go mod tidy

remove unnecessary change

remove unnecessary else branch

fix gentx test

update staking.pb.go

fix staking cli tests

fixing tests: first pass

proto-gen
…ial-probably

chore!: Upgrade QGB branch to v0.46.0
(cherry picked from commit fe89212)

Co-authored-by: Ari Rubinstein <arirubinstein@users.noreply.github.com>
…osmos#12840)

(cherry picked from commit cfed17e)

Co-authored-by: lg <8335464+glnro@users.noreply.github.com>
* chore: bump math package

* changelog
@evan-forbes
Copy link
Author

omg wrong base

@evan-forbes evan-forbes closed this Sep 4, 2023
@evan-forbes evan-forbes deleted the evan/re-add-default-consensus-params branch September 5, 2023 10:39
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.