Skip to content

Commit

Permalink
feat!: add igor faucet (#5281)
Browse files Browse the repository at this point in the history
Description
---
- Updated the igor genesis block to contain a faucet with revealed
values
- Added a new range-proof option for the genesis block sanity test

Motivation and Context
---
- Evaluating faucet with revealed values

How Has This Been Tested?
---
- Unit test demonstrating the range proof for each output in the faucet
- Performed system-level testing to demonstrate that the igor blockchain
works properly - 2x base nodes, 2x wallets, 1x SHA3 miner, 1x merge
mining proxy, 1x XMRig miner.

What process can a PR reviewer use to test or verify this change?
---
Perform system-level testing

Breaking Changes
---

- [ ] None
- [x] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [x] Other - New genesis block.

BREAKING CHANGE: The chain has to be restarted - delete the blockchain
database and resync the chain

---------

Co-authored-by: stringhandler <mikethetike@tari.com>
Co-authored-by: SW van Heerden <swvheerden@gmail.com>
  • Loading branch information
3 people authored Apr 5, 2023
1 parent d6342a4 commit bfc92fd
Show file tree
Hide file tree
Showing 6 changed files with 5,752 additions and 82 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions base_layer/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ zeroize = "1"
[dev-dependencies]
tari_p2p = { path = "../../base_layer/p2p", features = ["test-mocks"] }
tari_test_utils = { path = "../../infrastructure/test_utils" }
curve25519-dalek = {package="tari-curve25519-dalek", version = "4.0.2", default-features = false, features = ["serde", "alloc"] }

config = { version = "0.13.0" }
env_logger = "0.7.0"
Expand Down
5,527 changes: 5,527 additions & 0 deletions base_layer/core/src/blocks/faucets/igor_faucet.json

Large diffs are not rendered by default.

Loading

0 comments on commit bfc92fd

Please sign in to comment.