Skip to content

Commit

Permalink
[Relay Mining] Scaffold the RelayMiningDifficulty type (#548)
Browse files Browse the repository at this point in the history
Scaffold the `RelayMiningDifficulty` type.

1. I ran the following command:
	```bash
	ignite scaffold map --module tokenomics --no-message relay-mining-difficulty block_height:int num_relays_ema:uint hash_target:string --index service_id --yes
	```
2. Manually update some naming and types
3. Fix some imports
4. Auto-save to format files

⚠️ `proto/poktroll/tokenomics/relay_mining_difficulty.proto` is the most imporant file to review ⚠️
  • Loading branch information
Olshansk authored May 28, 2024
1 parent 42cf5c6 commit 9d089e7
Show file tree
Hide file tree
Showing 28 changed files with 5,331 additions and 124 deletions.
215 changes: 187 additions & 28 deletions api/poktroll/tokenomics/genesis.pulsar.go

Large diffs are not rendered by default.

2,235 changes: 2,192 additions & 43 deletions api/poktroll/tokenomics/query.pulsar.go

Large diffs are not rendered by default.

78 changes: 77 additions & 1 deletion api/poktroll/tokenomics/query_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9d089e7

Please sign in to comment.