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

4-nodes automated integration test infrastructure #46

Merged
merged 16 commits into from
Dec 5, 2022
Merged

Conversation

psy2848048
Copy link
Collaborator

@psy2848048 psy2848048 commented Nov 23, 2022

Effects

  • Soft update
  • Breaking change
  • Chain fork related

Major Reviewer

Background

Summary

  • Dockerfile provided
  • docker-compose provided (only for the multinode integration test purpose) with 4 validator users + 2 genesis users
  • As this PR contains too many lines, PR will be splitted with the infra setting script & actual tests code

Checklist

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

Copy link
Collaborator

@jhlee-young jhlee-young left a comment

Choose a reason for hiding this comment

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

LGTM

@psy2848048
Copy link
Collaborator Author

FYI

#48 is an improvement item, but it needs enough time to implement
Leave it as an issue and will update

@psy2848048
Copy link
Collaborator Author

Tested on hypercube, and this test only works on dimension & cube
Proved that #48 should be fixed first for moving forward

Let me close this PR and reopen it

@psy2848048 psy2848048 closed this Nov 29, 2022
@psy2848048
Copy link
Collaborator Author

The commit resolving #48 is added and reopen this PR

@psy2848048 psy2848048 reopened this Dec 1, 2022
@psy2848048 psy2848048 linked an issue Dec 1, 2022 that may be closed by this pull request
@psy2848048 psy2848048 merged commit ff253e9 into main Dec 5, 2022
@psy2848048 psy2848048 deleted the test/integration branch December 20, 2022 07:28
psy2848048 added a commit that referenced this pull request Dec 23, 2022
* 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
psy2848048 added a commit that referenced this pull request Dec 26, 2022
* 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
psy2848048 added a commit that referenced this pull request Dec 27, 2022
* 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
psy2848048 added a commit that referenced this pull request Dec 28, 2022
* 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
psy2848048 added a commit that referenced this pull request Dec 28, 2022
* 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
psy2848048 added a commit that referenced this pull request Mar 20, 2023
* 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
psy2848048 added a commit that referenced this pull request Mar 22, 2023
* 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
psy2848048 added a commit that referenced this pull request Mar 23, 2023
* 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
psy2848048 added a commit that referenced this pull request Mar 23, 2023
* 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
psy2848048 added a commit that referenced this pull request Mar 23, 2023
* 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
JoowonYun added a commit that referenced this pull request Mar 30, 2023
* 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: 임진승 <jinseungim@com2us.com>
Co-authored-by: psy2848048 <psy2848048@gmail.com>
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: 임진승 <jinseungim@com2us.com>
Co-authored-by: psy2848048 <psy2848048@gmail.com>
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.

Automate Gentx & genesis.json creation in CI
3 participants