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

feat: captains exported interfaces #22

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

towerkyoto
Copy link
Contributor

No description provided.

@richardleeft richardleeft merged commit 8c7d672 into develop Apr 23, 2024
@richardleeft richardleeft deleted the oris/captains/exported-interfaces branch April 23, 2024 07:41
richardleeft added a commit that referenced this pull request May 24, 2024
* chore: remove vesting

* chore: remove revenue

* chore: remove other modules

* feature: add testnet cmd

* chore: fmt code

* add mint proto file

* add module file

* Complete mint module

* fix: testnet cmd

* proto-gen: add proto & proto-gen

* init claims module

* add claims module to app

* chore: reorganize tabichain project struct

* add claims write interface

* add caption-node proto

* feat: init caption-node struct

* update captain node proto

* fix: fix testutils

* feat: init token-convert

* modify caption-node proto

* Complete node creation logic

* add query && tx cmd

* add test case

* chore: fix bug

* feat: Add auxiliary interface

* Add module cache

* feat: add claims module (#15)

* refactor: Removed logic for assigning rewards to captain-node in claims (#16)

* refactor: Redefine interfaces and Change processing logic (#17)

* feat: token-convert module (#18)

* proto: define and generate token-convert module

* init: token-convert module structure

* feat: get token-convert key

* feat: token-convert msg sever
proto: definiton modification

* fix: type err

* feat: token-convert app module

* feat: msg validation

* fix: delete voucher

* feat: token-convert query server

* feat: token-convert genesis

* feat: token-convert tx cli cmd

* feat: token-convert query cli cmd

* refactor: captains proto (#19)

* refactor: captains proto

* fix: rename callers to members & add update_params service

* feat: refactor claims proto (#21)

* feat: refactor claims proto

* fix: fix review comment

* refactor: captains module interfaces (#20)

* fix: compiling error due to proto redefinition.

* fix: module name error in token-convert

* fix: interface name typo

* fix: query authorized members

* chore: rename captains event type

* refactor: captains keys

* refactor: captains interfaces

* fix: division proto

* feat: captains exported interfaces (#22)

* feat: exported interfaces

* fix: exported keeper

* feat: implement claims module (#23)

* add calculate rewards

* add query cmd

* implement claims

* chore: modify CalculateRewards return value

* chore: modify CalculateRewards return value

* fix bug

* chore: add error and add event to claims

* fix: fix claims bug (#24)

* feat: captains rewards calculation logic (#25)

* feat: msg server

* feat: impl calculation func for emssion reward

* fix: module pkg name

* feat: improve calculation algo

* abci: incr epoch

* fix: commit report

* feat: captains optimization (#26)

* impr: align report epoch with current epoch

* fix: msg validation

* feat: captains tx&query cmd

* fix: get all powers

* fix: init geneis

* fix: new genesis

* fix: register claim amino error

* chore: Remove useless operations (#27)

* feat: Restrict sending EVM transactions to allow list only (#28)

* refactor: emission formula revised (#29)

* refactor emssion formula

* revise exported interface in captains

* fix: Fixed the MsgUpdateParams non-registration issue of captains module (#30)

* refactor: mint output is only given to Validators and delegators (#31)

* test: part of captains unit tests (#32)

* captains unit test part 1

* captains unit test part 2

* test: token-convert msg server unit test (#33)

* add token-convert server unit test

* format code

* revise formula (#34)

* feat: query node emission on last epoch (#35)

* fix: add node power on ratio and remove limit on nodes holding

* revise proto and fix captains logic

* proto: add query for captains

* feat: add additional query

* refactor: seperate state prune or set from calc func  (#36)

* fix: seperate set/prune logic from calc func

* complete full epoch test

* revise proto and func name

* test[claims]: implement claims module test (#37)

* feat: implement claims module test

* fix: set mock keeper

* feat: implement claims module claims test

* implement claims module query test

---------

Co-authored-by: oris <[email protected]>

* test: captains integration test (#38)

* fix: seperate set/prune logic from calc func

* complete full epoch test

* revise proto and func name

* add grpc test

* add captains unit test

* fix captains suite

* fix test

* refactor: captains genesis and key naming. (#39)

* rename key

* mv report func to report.go

* refactor genesis import/export

* rename captains expected keeper interface

* feat: restrict captains tx as per epoch phase  (#40)

* feat: restriction on captains txs as per epoch phase

* fix func name

* add stand-by flag to genesis

* rm typo in ante

* fix: captains test (#41)

* chore: update division default value

* fix: restrict claim on rewards and powers

* fix tx cli

* fix coefficient

* fix msg validation

* add commit report msg test

* fix grpc query

* fix: key store error
test: captains import and export

* chore: Optimize code (#42)

* feat: epoches testing framework  (#43)

* add full epoch testing framework

* fix testing error

* fix epoch phase

* add state transition table and fix tests

* chore: rm cpr

* rm gitpod

* retract do not edit

* test&cli: add ante test and draft report cmd (#44)

* rename captains exported interface

* add ante testing

* cli: add draft report

* typo

* chore: add changelog (#45)

---------

Co-authored-by: chivalrouslee <[email protected]>
Co-authored-by: richardleeft <[email protected]>
Co-authored-by: ppyang <[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.

None yet

2 participants