Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

feat: staking precompile #257

Merged
merged 17 commits into from
Feb 22, 2023
Merged

feat: staking precompile #257

merged 17 commits into from
Feb 22, 2023

Conversation

neverDefined
Copy link
Contributor

  • Setup precompiles
  • Port over the staking precompile

@codecov
Copy link

codecov bot commented Feb 20, 2023

Codecov Report

Merging #257 (6b201ad) into main (f82abf5) will increase coverage by 0.73%.
The diff coverage is 91.20%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #257      +/-   ##
==========================================
+ Coverage   86.98%   87.72%   +0.73%     
==========================================
  Files          51       53       +2     
  Lines        1737     2101     +364     
==========================================
+ Hits         1511     1843     +332     
- Misses        191      214      +23     
- Partials       35       44       +9     
Flag Coverage Δ
integration 8.94% <0.00%> (-1.88%) ⬇️
unit 79.01% <91.20%> (+2.55%) ⬆️
Impacted Files Coverage Δ
precompile/staking/helpers.go 74.07% <74.07%> (ø)
precompile/staking/staking.go 98.43% <98.43%> (ø)

@itsdevbear
Copy link

Looks bless so far ☃️🙏

@neverDefined neverDefined marked this pull request as ready for review February 21, 2023 23:31
@@ -78,8 +78,8 @@ func SetupMinimalKeepers() (
AccKey,
authtypes.ProtoBaseAccount,
map[string][]string{
stakingtypes.NotBondedPoolName: {authtypes.Minter, authtypes.Burner},
stakingtypes.BondedPoolName: {authtypes.Minter, authtypes.Burner},
stakingtypes.NotBondedPoolName: {authtypes.Minter, authtypes.Burner, authtypes.Staking},

Choose a reason for hiding this comment

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

whats authtypes staking?

@itsdevbear itsdevbear added this pull request to the merge queue Feb 22, 2023
Merged via the queue into main with commit 7be90c1 Feb 22, 2023
@itsdevbear itsdevbear deleted the staking-precompile branch May 3, 2023 14:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants