Skip to content

Commit

Permalink
fix: fix the compatibility issues with daphne (#539)
Browse files Browse the repository at this point in the history
* feat: define proto for x/token

* feat: update proto

* feat: add event type enum

* feat: add spent and received event

* style: lint

* refactor: rename file

* refactor: refactor send

* refactor: update msgs.go

* refactor: update codec

* refactor: update genesis

* refactor: update keys

* refactor: update genesis and query proto

* refactor: update types

* refactor: update genesis and grant

* refactor: update servers

* feat: add low level events to ease the tracking

* refactor: emit legacy events

* refactor: update logics

* style: lint

* fix: update test and fix bugs

* test: increase coverage of msgs.go

* test: increase coverage of supply.go

* style: lint

* test: increase coverage of genesis.go

* test: increase coverage of the servers

* chore: use shorter variation

* fix: create account on mint, burn and send (daphne compat)

* feat: add operator field to EventModified

* fix: make queries for statistics to return errors on not found

* docs: update CHANGELOG.md

* fix: make key prefixes to start from 0x00

* docs: update comments in tx.proto

* docs: update comments in event.proto

* docs: update comments in query.proto

* docs: update comments on genesis.proto

* refactor: add new apis and deprecate the old ones

* chore: replace class with contract

* refactor: add new queries and deprecate the old ones

* fix: set fields of the queries as not nullable

* fix: remove event_received and event_spent

* refactor: panic if it's not the user's fault

* docs: update documentation on tx

* docs: update documentation on event

* test: fix errors on tests

* fix: set granter address of the event empty on issuance.

* docs: update comments on ERC777 related specs

* docs: update event proto document format

* docs: add a comment about empty granter address in the event

* docs: update comments in proto

* fix: emit client-friendly errors on the queries

* feat: return the id of the created token class

* chore: rename files

* docs: fix comment

* refactor: introduce ValidateContractID()

* Update x/token/keeper/send.go

Co-authored-by: Sujong Lee <[email protected]>

* lint: lint test files

Co-authored-by: Sujong Lee <[email protected]>
  • Loading branch information
0Tech and dudong2 authored Jun 30, 2022
1 parent d795f5e commit 41bd395
Show file tree
Hide file tree
Showing 50 changed files with 16,625 additions and 6,418 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (client) [\#476](https://github.com/line/lbm-sdk/pull/476) change the default value of the client output format in the config
* (server/grpc) [\#516](https://github.com/line/lbm-sdk/pull/516) restore build norace flag
* (genesis) [\#517](https://github.com/line/lbm-sdk/pull/517) fix genesis auth account format(cosmos-sdk style -> lbm-sdk style)
* (x/token) [\#539](https://github.com/line/lbm-sdk/pull/539) fix the compatibility issues with daphne
* (x/foundation) [\#545](https://github.com/line/lbm-sdk/pull/545) fix genesis and support abstain
* (x/auth) [\#563](https://github.com/line/lbm-sdk/pull/563) fix unmarshal bug of `BaseAccountJSON`
* (client) [\#565](https://github.com/line/lbm-sdk/pull/565) fix the data race problem in `TestQueryABCIHeight`
Expand Down
9 changes: 5 additions & 4 deletions client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading

0 comments on commit 41bd395

Please sign in to comment.