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

refactor: rename x/token events #637

Merged
merged 4 commits into from
Aug 16, 2022
Merged

refactor: rename x/token events #637

merged 4 commits into from
Aug 16, 2022

Conversation

0Tech
Copy link
Collaborator

@0Tech 0Tech commented Aug 10, 2022

Description

The x/token events now use the past tense.
Also renamed EventAbandon into EventRenounced since the latter is already in use on other implementations.

Motivation and context

To unify the event nomenclature of x/token.

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

@0Tech 0Tech self-assigned this Aug 10, 2022
@codecov
Copy link

codecov bot commented Aug 10, 2022

Codecov Report

Merging #637 (a7529ab) into main (09aace5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #637      +/-   ##
==========================================
+ Coverage   60.24%   60.25%   +0.01%     
==========================================
  Files         817      817              
  Lines       94972    94972              
==========================================
+ Hits        57217    57228      +11     
+ Misses      34282    34265      -17     
- Partials     3473     3479       +6     
Impacted Files Coverage Δ
x/token/event.go 100.00% <100.00%> (ø)
x/token/keeper/msg_server.go 68.99% <100.00%> (ø)
x/token/keeper/supply.go 91.04% <100.00%> (ø)
crypto/keys/internal/ecdsa/privkey.go 82.45% <0.00%> (-1.76%) ⬇️
x/collection/msgs.go 41.11% <0.00%> (-1.67%) ⬇️
x/foundation/msgs.go 44.71% <0.00%> (+1.44%) ⬆️
x/token/msgs.go 36.54% <0.00%> (+4.06%) ⬆️
x/token/validation.go 89.09% <0.00%> (+18.18%) ⬆️

@0Tech 0Tech requested review from dudong2 and zemyblue August 10, 2022 04:15
@0Tech 0Tech marked this pull request as ready for review August 10, 2022 04:15
Copy link
Member

@zemyblue zemyblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check swagger file

@0Tech 0Tech merged commit a2fff76 into Finschia:main Aug 16, 2022
@0Tech 0Tech deleted the token_rename branch August 16, 2022 02:21
zemyblue added a commit that referenced this pull request Sep 5, 2022
* main:
  fix: wasm module's FIXME in the snapshotter.go file (#649)
  chore(deps): Bump actions/setup-go from 3.2.1 to 3.3.0 (#650)
  chore(deps): Bump actions/cache from 3.0.7 to 3.0.8 (#648)
  fix: remove legacy codes of wasm (#640)
  chore(deps): Bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 (#643)
  chore(deps): Bump actions/cache from 3.0.6 to 3.0.7 (#642)
  chore: change some minor things that haven't been fixed in #549 (#635)
  refactor: rename x/collection events (#639)
  feat: add additional fields into x/collection events (#638)
  refactor: rename x/token events (#637)
  feat: add creator into x/token EventIssue (#636)
  chore(deps): Bump github.com/coinbase/rosetta-sdk-go (#641)
  chore: change `Keeper.space` type to be same with cosmos-sdk
  refactor: remove SetBalance and SetSupply (#629)
  refactor: revert changes in x/slashing proto (#627)
  chore(deps): Bump actions/cache from 3.0.5 to 3.0.6 (#631)
  chore(deps): Bump github.com/prometheus/client_golang (#632)
  chore(deps): Bump actions/setup-go from 2.1.4 to 3.2.1 (#624)
  feat: add Query/TokenClassTypeName (#622)
  feat: add additional information into EventXXXChanged (#621)

Signed-off-by: zemyblue <[email protected]>

# Conflicts:
#	CHANGELOG.md
#	client/docs/statik/statik.go
#	simapp/app.go
#	x/wasm/types/events.go
@zemyblue zemyblue mentioned this pull request Oct 27, 2022
5 tasks
@zemyblue zemyblue mentioned this pull request Nov 28, 2022
5 tasks
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.

3 participants