This repository was archived by the owner on Jun 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
feat: raw and process snapshot commands #6
Open
Pantani
wants to merge
34
commits into
main
Choose a base branch
from
feat/read-state
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
f4163e5
add project structure
Pantani d9fbd3f
Merge remote-tracking branch 'origin/main' into feat/read-state
Pantani 90ee563
add config tests
Pantani a3d26e0
add gofmt
Pantani 96088b6
add unit tests for snapshot package
Pantani e4af165
add unit tests
Pantani 4ab089e
improve command decription
Pantani b558b7e
remove local CLI project
Pantani a9b4fbf
update go.sum
Pantani b3b7bdf
fix lint
Pantani 0dc61c6
update genesis testdata
Pantani 7049bbc
fix ci coverage
Pantani 266c26c
create snapshot filter methods
Pantani 01bd413
add formula package
Pantani 5c39b8f
add calculate rules
Pantani 64d521c
add fixme for the calculation
Pantani ff34d98
add process commands
Pantani 8179886
fix unit tests
Pantani 4767728
fix panic
Pantani 407a226
move debug to cmd
Pantani b6fbc2c
remove unused encoding parameters
Pantani 18b69c2
run `make format`
Pantani bf95ca9
fix formula calculation
Pantani 5241e27
add unit tests and fix filter
Pantani 67be669
fix unit tests
Pantani c2b99f5
fix config typo
Pantani 717a2e6
simplify filter struct
Pantani e52353c
add claim records to gen state
Pantani 11f6305
- remove liquidy module
Pantani 832f1ba
Merge remote-tracking branch 'origin/main' into feat/read-state
Pantani b66bf74
fetch balances
Pantani 504e7e3
add output genesis arg
Pantani 9901de7
rename filter to record
Pantani 3cd32e1
fix test name
Pantani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
cli-plugin-airdrop | ||
.idea | ||
.DS_STORE | ||
.DS_STORE | ||
coverage.txt | ||
coverage.out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"os" | ||
|
||
"github.com/spf13/cobra" | ||
|
||
"github.com/ignite/cli-plugin-airdrop/cmd" | ||
) | ||
|
||
var rootCmd = &cobra.Command{ | ||
Use: "cli-plugin-airdrop", | ||
Short: "debug command for CLI airdrop plugin", | ||
} | ||
|
||
func main() { | ||
rootCmd.AddCommand(cmd.NewAirdrop()) | ||
if err := rootCmd.Execute(); err != nil { | ||
fmt.Fprintln(os.Stderr, err) | ||
os.Exit(1) | ||
} | ||
} | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.