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

v2.0.0 release diff against v1.5.0 #2011

Draft
wants to merge 272 commits into
base: releases/v1.5.0
Choose a base branch
from
Draft

Conversation

k-yang
Copy link
Member

@k-yang k-yang commented Aug 19, 2024

DO NOT MERGE. For illustration purposes only.

dependabot bot and others added 30 commits November 17, 2023 05:10
….0 to 2.18.1 (#1675)

* chore(deps): Bump github.com/grpc-ecosystem/grpc-gateway/v2

Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.18.0 to 2.18.1.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](grpc-ecosystem/grpc-gateway@v2.18.0...v2.18.1)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Updated changelog - dependabot

---------

Signed-off-by: Unique-Divine <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Unique-Divine <[email protected]>
* introduce global volumes

* remove volume GC

* add rebates

* add allocate epoch rebates message

* implement AllocateEpochRebates

* add withdrawal logic

* finalise testing

* add genesis for global volumes and rebate allocations

* add genesis testing

* chore: CHANGELOG.md

* ci: build latest docker image on master push

* ci: build latest chaosnet image on master push

* ci: only run goreleaser on tagged commits

* ci: temporarily disable goreleaser on master pushes

* address all PR reviews

* maybe finish merging

* fix testing and rename for clarity

* ci: revert workflow changes from master

* Update x/perp/v2/keeper/dnr.go

---------

Co-authored-by: godismercilex <[email protected]>
Co-authored-by: Kevin Yang <[email protected]>
Co-authored-by: Unique Divine <[email protected]>
* test: add msg server test

* test: add more msg server test

* chore: changelog
* ci: build latest docker image on master push

* ci: build latest chaosnet image on master push

* ci: only run goreleaser on tagged commits

* ci: temporarily disable goreleaser on master pushes

* do epoch wiring and add genesis test

* add dnr epoch testing

* rollback

* lint

* chore CHANGELOG.md

---------

Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: godismercilex <[email protected]>
* upgrade handler

* make lint

* update changelog

* fix changelog

* use orderedModuleNames() function for upgrade

---------

Co-authored-by: Unique Divine <[email protected]>
* tests: add more tests for msg server for DnR

* chore: changelog

* refactor: fix linter errors

---------

Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Unique-Divine <[email protected]>
* chore(deps): Bump cosmossdk.io/math from 1.1.2 to 1.2.0

Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.1.2 to 1.2.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@math/v1.1.2...log/v1.2.0)

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

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

* Updated changelog - dependabot

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Unique-Divine <[email protected]>
* chore(deps): Bump cosmossdk.io/math from 1.1.2 to 1.2.0

Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.1.2 to 1.2.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@math/v1.1.2...log/v1.2.0)

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

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

* feat(perp): msg server methods for shift peg and shift swap invariant

* (wasmbinding): remove pegshitft and depth shift

* test(perp): msg tests

* change log

* Update x/perp/v2/types/msgs.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* PR comments changes

* add events for logging purposes

* refactor: consistent error name usage PR comment

* refactor: more PR comments

* Address Gimeno PR comments + more tests

* fix strange address name conflicts

* test: fix all tests

* test: more calls of EnsureNibiruPrefix

* Updated changelog - dependabot

* test: fix no error cases in tests

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Unique-Divine <[email protected]>
* fix: fix default inflation allocation

* chore: changelog

* fix: fix tests

---------

Co-authored-by: Unique Divine <[email protected]>
* chore(deps): Bump github.com/spf13/cast from 1.5.1 to 1.6.0

Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](spf13/cast@v1.5.1...v1.6.0)

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

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

* Updated changelog - dependabot

---------

Signed-off-by: Unique-Divine <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Unique-Divine <[email protected]>
…'s released (#1690)

* docs(CHANGELOG.md): Correct the change log, providing clarity on what's released.

Changes as far back as v0.19.2 now have a clear separation between
non-breaking and breaking. The format is also updated to more accurately
follow the conventions outlined on https://keepachangelog.com/en/1.1.0/.

* docs(CHANGELOG): merge master
…Stargate now (#1687)

* chore(deps): Bump cosmossdk.io/math from 1.1.2 to 1.2.0

Bumps [cosmossdk.io/math](https://github.com/cosmos/cosmos-sdk) from 1.1.2 to 1.2.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@math/v1.1.2...log/v1.2.0)

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

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

* feat(perp): msg server methods for shift peg and shift swap invariant

* (wasmbinding): remove pegshitft and depth shift

* test(perp): msg tests

* change log

* Update x/perp/v2/types/msgs.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* PR comments changes

* add events for logging purposes

* refactor: consistent error name usage PR comment

* refactor: more PR comments

* Address Gimeno PR comments + more tests

* fix strange address name conflicts

* test: fix all tests

* test: more calls of EnsureNibiruPrefix

* Updated changelog - dependabot

* chore(wasmbinding): delete CustomQuerier since we have QueryRequest::Stargate now

* changelog

* change log

* test: fix no error cases in tests

* changelog + address PR comments

* ci(codecov.yml): handle removed code coverage relative to bse

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Unique-Divine <[email protected]>
* ci: s/master/main/g

* ci: fix pr lint action

---------

Co-authored-by: Unique-Divine <[email protected]>
* feat: add inflation events detailed distribution

* chore: changelog

* fix: improve error handling

* fix: broken unit test + make x/sudo safer by making blank genesis invalid

* refactor: run gofumpt formatter

---------

Co-authored-by: Unique-Divine <[email protected]>
* chore(deps): Bump actions/setup-go from 4 to 5

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Updated changelog - dependabot

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Unique-Divine <[email protected]>
* feat: bump to golang v1.21

* ci: bump golang cross version to 1.21.5

* fix: osxcross directory changed

* Update CHANGELOG.md

Run markdown linter on changelog.md
#1700)

* fix: remove float sqrt calculation

* chore: changelog

* fix(oracle): exact sqrts (common.SqrtDec) gives more accurate math

---------

Co-authored-by: Unique-Divine <[email protected]>
* feat: add oracle pair to market object

* chore: changelog
* fix: upgrade handler for v1.1.0

* chore: update changelog
* feat: bump librocksdb to v8.5.3

* Update CHANGELOG.md

* ci: add goreleaser-latest workflow

* ci: update goreleaser workflow

* fix: goreleaser config

* Update CHANGELOG.md

* goreleaser: fix builds and optimize pre hook scripts

---------

Co-authored-by: Helder M <[email protected]>
Co-authored-by: Helder Moreira <[email protected]>
* ci: test chaosnet script in CI after build

* docs + trivial changes to trigger CI
* Update README.md

Replacing a broken link

* docs(README.md): Fix hyperlinks + sync with fresh docs

---------

Co-authored-by: Unique Divine <[email protected]>
* refactor(inflation): make inflation disabled by default

* chore: update changelog
@k-yang k-yang added the ⚠️ do not merge On hold for merge or not desired label Aug 22, 2024
Unique-Divine and others added 29 commits August 22, 2024 10:45
…unToken.sol" precompile. (#2013)

* chore(evm): Set appropriate gas value for the required gas of the "IFunToken.sol" precompile.

* typo
* feat(evm): Emit block bloom event in EndBlock hook.

* chore: linter
* test(evm): e2e tests for eth_* endpoints

* test(evm): another series of e2e tests

* chore: cleanup

---------

Co-authored-by: Kevin Yang <[email protected]>
…I with tests. (#2002)

* feat(evm-cli): expose account query

* undo commit of events code

* test(evm-cli): more tests

* changelog

* refactor: small edits after self-review

* chore: typo
* chore(evm): enabled debug rpc api on localnet

* chore: changelog update

---------

Co-authored-by: Unique Divine <[email protected]>
* test(evm): e2e tests for debug namespace

* chore: changelog update
* feat(evm): debug_traceCall method implemented

* chore: cleanup

* chore: changelog update

* test(evm): added api backend test for debug_traceCall
…and debug namespaces (#2030)

* wip!: checkpoint

* remove dead code

* test(e2e): remove unnecessary skips

* pending chekcpoint

* chore(github): Automate labeleing and add-to-project for GH issues/tickets

* chore: changelog

* chore: linter and changelog

* wip!: save

* chore: stopping point

* chore: linter
…ompleting #2037 (#2041)

* refactor: partial commit from #2037. Remove mocks

* chore: changelog
* chore(deps-dev): bump axios from 1.7.3 to 1.7.4 in /x/evm/embeds

Bumps [axios](https://github.com/axios/axios) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

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

* Updated changelog - dependabot

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Unique-Divine <[email protected]>
* test(evm): backend tests with test network and real txs

* chore: changelog update
* feat(evm): evm tx indexer service implemented

* feat(evm): evm-indexer cli command to fill the indexing gaps

* chore: lint

* chore: changelog update

* fix: graceful stopping of the evm indexer

* fix: race conditions on evm indexer service

* fix: race condition within evm indexer
* feat(evm): ante handler to prohibit authz grant evm messages

* feat(authz): rejecting authz exec messages with MsgEthereumTx inside

* chore: lint

* chore: typo fix

---------

Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Kevin Yang <[email protected]>
)

* chore(deps): bump bufbuild/buf-setup-action from 1.36.0 to 1.42.0

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.36.0 to 1.42.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.36.0...v1.42.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Updated changelog - dependabot

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Unique-Divine <[email protected]>
…rectory (#2050)

* gitignore and issue comment

* refactor(oracle): remove unused code and collapse empty client/cli directory

* chore: changelog

* fix last few import paths
…ute Wasm contracts. (#2054)

* Implement wasm precompile in evm/embeds

* feat(evm-precompile): Precompile for one-way EVM calls to invoke/execute Wasm contracts.

* impl remaining Wasm.sol methods and document thoroughly

* more tests and docs
)

Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](bufbuild/buf-setup-action@v1.42.0...v1.43.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Unique Divine <[email protected]>
* refactor(evm): made all eth events typed

* refactor(evm): tests for evm events upgraded

* chore: cleanup

* chore: cleanup

* chore: cleanup

* chore: cosmetic fixes

---------

Co-authored-by: Unique Divine <[email protected]>
* feat(oracle): add solidity interface

* feat(oracle): fix solidity IOracle.sol interface

* feat(evm): add oracle precompile

* chore: update changelog

* Update x/evm/embeds/contracts/IOracle.sol

Co-authored-by: Unique Divine <[email protected]>

* Update x/evm/embeds/contracts/IOracle.sol

Co-authored-by: Unique Divine <[email protected]>

* Update x/evm/precompile/oracle.go

Co-authored-by: Unique Divine <[email protected]>

* Update x/evm/precompile/oracle.go

Co-authored-by: Unique Divine <[email protected]>

* Update IOracle.json

* chore: linter

---

Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Unique Divine <[email protected]>
Co-authored-by: Oleg Nikonychev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ do not merge On hold for merge or not desired
Projects
None yet
Development

Successfully merging this pull request may close these issues.