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

XATP module #73

Merged
merged 29 commits into from
Mar 30, 2023
Merged

XATP module #73

merged 29 commits into from
Mar 30, 2023

Conversation

JoowonYun
Copy link
Collaborator

@JoowonYun JoowonYun commented Mar 8, 2023

Effects

  • Soft update
  • Breaking change
  • Chain fork related

Major Reviewer

@green-blue0 @yoosah

Background

  • Need to pay fees as a platform token

Summary

  • support to XATP module

Checklist

  • Backward compatible?
  • Test enough in your local environment?
  • Add related test cases?

@JoowonYun JoowonYun changed the title [WIP] xatp economy xatp economy Mar 10, 2023
@JoowonYun JoowonYun changed the base branch from feature/xatp to release/v1.3.x March 14, 2023 08:17
@JoowonYun JoowonYun changed the title xatp economy XATP module Mar 14, 2023
@JoowonYun JoowonYun force-pushed the feature/xatp-economy branch 2 times, most recently from c3053ba to 5e3bbbe Compare March 20, 2023 07:36
JoowonYun and others added 2 commits March 22, 2023 11:02
* 4-nodes automated integration test infrastructure (#46)

* feat: added working Dockerfile

* test: multinode docker & docker-compose

* misc: added integration test in github action

* misc: divided unit test & integration test

* fix: added ETH port

* test: added basis lib

* misc: added test trigger

* test: added a test - delegation

* test: added test trigger

* test: added tests: store code

* test: added test - InstantiateContract

* test: added test - contract execution

* docs: added README of integration test

* misc: added go setup before integration test

* test: automated all prepared genesis.json creation process

resolves #48

* test: changed broadcast mode as block and delete sleep

* test: updated common testing part

* test: added xatp tests

* test: fixed - get simulation error from sync mode
ante/fee.go Outdated Show resolved Hide resolved
ante/fee.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@caramis caramis left a comment

Choose a reason for hiding this comment

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

LGTM

@JoowonYun JoowonYun merged commit e01b7c2 into release/v1.3.x Mar 30, 2023
@JoowonYun JoowonYun deleted the feature/xatp-economy branch March 30, 2023 06:41
JoowonYun added a commit that referenced this pull request Feb 1, 2024
* add xatp

add upgrade

* fix: correct proto path

* fix: correct module name

* fix: mempool fee decorator test

* refactor: remove unused code

* feat: changed to manage XATP with map

* feat: add to xatp query

* refactor: simple conditions and calculations

* feat: manage XATP as a proposal

* refactor: remove unused SmartQueryGasLimit

* refactor: ante MempoolFeeDecorator

* refactor: ante DeductFeeDecorator

* fix: exception handling when payer is empty in xatp module

* fix: fee precision

* feat: change payer to module account

* feat: apply tax-rate

* feat: xatp economy

* feat: fund xatp pool & query pool

* fix: typo

* fix: validate simulation

* refactor: merge upgrade (xatp & align gas price)

* feat: gas refund when mempool check

* refactor: increased precision in simulate

* fix: change XATP from dec to int

* fix: change the xatp param rate to be greater than 1

* fix: calculate reward pool

* fix: check fee when simulate

* Added integartion tests for XATP module (#60)

* 4-nodes automated integration test infrastructure (#46)

* feat: added working Dockerfile

* test: multinode docker & docker-compose

* misc: added integration test in github action

* misc: divided unit test & integration test

* fix: added ETH port

* test: added basis lib

* misc: added test trigger

* test: added a test - delegation

* test: added test trigger

* test: added tests: store code

* test: added test - InstantiateContract

* test: added test - contract execution

* docs: added README of integration test

* misc: added go setup before integration test

* test: automated all prepared genesis.json creation process

resolves #48

* test: changed broadcast mode as block and delete sleep

* test: updated common testing part

* test: added xatp tests

* test: fixed - get simulation error from sync mode

* refactor: variable names

---------

Co-authored-by: 임진승 <[email protected]>
Co-authored-by: psy2848048 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants