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

Move validator component to INX plugin #443

Merged
merged 37 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ba18cc1
Remove validator component.
piotrm50 Oct 18, 2023
be17b7e
Merge remote-tracking branch 'origin/develop' into feat/move-validato…
piotrm50 Oct 20, 2023
5a46738
Add INX server endpoints to support inx-validator
piotrm50 Oct 20, 2023
30b26cf
Update .gitignore entry for go.work
piotrm50 Oct 20, 2023
9a991c4
Bump inx and inx-app version
piotrm50 Oct 20, 2023
a8fc93f
Run gendoc
piotrm50 Oct 20, 2023
e0b61d9
Add validators to docker-compose.yml
piotrm50 Oct 20, 2023
6b244c5
Merge remote-tracking branch 'origin/develop' into feat/move-validato…
piotrm50 Oct 24, 2023
80f6841
Update dependency versions.
piotrm50 Oct 24, 2023
970fea1
Update dependencies.
piotrm50 Oct 24, 2023
a7e8438
Merge branch 'develop' into feat/move-validator-plugin-to-inx
piotrm50 Oct 25, 2023
c37f0f3
Merge branch 'develop' into feat/move-validator-plugin-to-inx
piotrm50 Oct 25, 2023
5273205
Post merge fixes
piotrm50 Oct 25, 2023
2b5a4ca
Fix docker-compose after merge
piotrm50 Oct 26, 2023
8cb895a
Add ForceCommitUntil and ActiveRootBlocks methods
piotrm50 Oct 26, 2023
17ed514
Fix some bugs
piotrm50 Oct 26, 2023
fceadf3
Merge remote-tracking branch 'origin/develop' into feat/move-validato…
piotrm50 Oct 27, 2023
0a2142c
Update inx and inx-app
piotrm50 Oct 27, 2023
320a9a9
Trigger OnlineCommitteeSeatRemoved only when the seat was actually re…
piotrm50 Oct 27, 2023
aef1f33
Merge remote-tracking branch 'origin/develop' into feat/move-validato…
piotrm50 Oct 30, 2023
bfe211f
Update go.mod versions
piotrm50 Oct 30, 2023
15bdd0d
Update go.mod versions
piotrm50 Oct 30, 2023
d5481eb
Apply review suggestions.
piotrm50 Oct 30, 2023
5851ebd
Add inx-validator deployment to Ansible.
piotrm50 Oct 30, 2023
9c44669
Add validator account address
piotrm50 Oct 30, 2023
9efbf6c
Update inx and inx-app
piotrm50 Oct 30, 2023
a5adb00
Rename variables for feature deploy
karimodm Oct 30, 2023
5092fce
Fix start condition for inx-validator.
piotrm50 Oct 31, 2023
840f30d
Fix ports
piotrm50 Oct 31, 2023
7990328
run.sh fix
karimodm Oct 31, 2023
38b4c61
Merge branch 'feat/move-validator-plugin-to-inx' of github.com:iotale…
karimodm Oct 31, 2023
1e7ef7d
More syntax issues
karimodm Oct 31, 2023
754b4e7
More fixes
karimodm Oct 31, 2023
e371836
Fix deployment name.
piotrm50 Oct 31, 2023
1511372
Fix iota-core deployment template.
piotrm50 Oct 31, 2023
a42deda
Merge remote-tracking branch 'origin/develop' into feat/move-validato…
piotrm50 Oct 31, 2023
8ed294d
Update default snapshot for feature network
piotrm50 Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions deploy/ansible/hosts/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,24 @@ cores:
internal_nodes:
hosts:
node-01.feature.shimmer.iota.cafe:
validatorAccount: "{{ NODE_01_ACCOUNTID }}"
# validatorAccountAddress: "{{ NODE_01_ACCOUNTID }}"
validatorAccountAddress:"rms1pqlhggrg2ml9p0q5c4593r2yd3jwgxn20d65ulyw6z9r7xmm78apq2067mf"
validatorPrvKey: "{{ NODE_01_VALIDATOR_PRIVKEY }}"
p2pIdentityPrvKey: "{{ NODE_01_P2PIDENTITYPRIVATEKEY }}"
node-02.feature.shimmer.iota.cafe:
validatorAccount: "{{ NODE_02_ACCOUNTID }}"
# validatorAccountAddress: "{{ NODE_02_ACCOUNTID }}"
validatorAccountAddress:"rms1pzjwamvhjuqtw3dkfwmmj2fgcetcdyt4uxrnjxel4caxfstzz903y7hhr3d"
validatorPrvKey: "{{ NODE_02_VALIDATOR_PRIVKEY }}"
p2pIdentityPrvKey: "{{ NODE_02_P2PIDENTITYPRIVATEKEY }}"
node-03.feature.shimmer.iota.cafe:
validatorAccount: "{{ NODE_03_ACCOUNTID }}"
# validatorAccountAddress: "{{ NODE_03_ACCOUNTID }}"
validatorAccountAddress:"rms1pz6kedkxyw9md2cmp0wcdhvsxrn2e7gzuyly76ffymy4dhvtkm58qqazeuk"
validatorPrvKey: "{{ NODE_03_VALIDATOR_PRIVKEY }}"
p2pIdentityPrvKey: "{{ NODE_03_P2PIDENTITYPRIVATEKEY }}"
node-04.feature.shimmer.iota.cafe:
p2pIdentityPrvKey: "{{ NODE_04_P2PIDENTITYPRIVATEKEY }}"
blockissuerPrvKey: "{{ NODE_04_BLOCKISSUER_PRV_KEY }}"
blockissuerAccountAddress: "rms1pqas0clgfsf8du9e6dw0yx9nwclqe0dd4f728pvgmcshpscm8r5mkddrrfc"
faucetPrvKey: "{{ NODE_04_FAUCET_PRV_KEY }}"
node-05.feature.shimmer.iota.cafe:
p2pIdentityPrvKey: "{{ NODE_05_P2PIDENTITYPRIVATEKEY }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ services:
--restAPI.bindAddress=0.0.0.0:14265
--database.path=/app/data/database
--protocol.snapshot.path=/app/data/snapshot.bin
{% if 'node-01' in inventory_hostname or 'node-02' in inventory_hostname or 'node-03' in inventory_hostname %}
--validator.enabled=true
{% if 'node-01' in inventory_hostname %}
--validator.ignoreBootstrapped=true
{% endif %}
--validator.account={{validatorAccount}}
--validator.privateKey={{validatorPrvKey}}
{% endif %}
--dashboard.bindAddress=0.0.0.0:8081
--metrics.bindAddress=iota-core:9311
--inx.enabled=true
Expand Down Expand Up @@ -101,7 +93,7 @@ services:
command: >
--inx.address=iota-core:9029
--restAPI.bindAddress=inx-blockissuer:9086
--blockIssuer.accountAddress=rms1pqas0clgfsf8du9e6dw0yx9nwclqe0dd4f728pvgmcshpscm8r5mkddrrfc
--blockIssuer.accountAddress={{blockissuerAccountAddress}}
--blockIssuer.proofOfWork.targetTrailingZeros=5

inx-faucet:
Expand All @@ -125,4 +117,26 @@ services:
command: >
--inx.address=iota-core:9029
--faucet.bindAddress=0.0.0.0:8091
{% endif %}

{% if 'node-01' in inventory_hostname or 'node-02' in inventory_hostname or 'node-03' in inventory_hostname %}
inx-validator:
container_name: inx-validator
image: iotaledger/inx-validator:1.0-alpha
stop_grace_period: 1m
restart: unless-stopped
depends_on:
iota-core:
condition: service_healthy
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't that some kind of race condition? Can the nodes even be healthy if there is no validator in the network yet?

networks:
- iota-core
environment:
- "VALIDATOR_PRV_KEY={{validatorPrvKey}}"
command: >
--logger.level=debug
--inx.address=iota-core:9029
{% if 'node-01' in inventory_hostname %}
--validator.ignoreBootstrapped=true
{% endif %}
--validator.accountAddress={{validatorAccountAddress}}
{% endif %}
11 changes: 0 additions & 11 deletions tools/docker-network/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ services:
depends_on:
node-1-validator:
condition: service_started
inx-indexer:
condition: service_started
networks:
piotrm50 marked this conversation as resolved.
Show resolved Hide resolved
- iota-core
environment:
Expand All @@ -252,8 +250,6 @@ services:
--logger.level=debug
--inx.address=node-1-validator:9029
--validator.ignoreBootstrapped=true
--validator.accountAddress=rms1pzg8cqhfxqhq7pt37y8cs4v5u4kcc48lquy2k73ehsdhf5ukhya3y5rx2w6


inx-validator-2:
image: iotaledger/inx-validator:latest
Expand All @@ -262,16 +258,13 @@ services:
depends_on:
node-2-validator:
condition: service_started
inx-indexer:
condition: service_started
networks:
piotrm50 marked this conversation as resolved.
Show resolved Hide resolved
- iota-core
environment:
- "VALIDATOR_PRV_KEY=3a5d39f8b60367a17fd54dac2a32c172c8e1fd6cf74ce65f1e13edba565f281705c1de274451db8de8182d64c6ee0dca3ae0c9077e0b4330c976976171d79064"
command: >
--logger.level=debug
--inx.address=node-2-validator:9029
--validator.accountAddress=rms1pqm4xk8e9ny5w5rxjkvtp249tfhlwvcshyr3pc0665jvp7g3hc875k538hl

inx-validator-3:
image: iotaledger/inx-validator:latest
Expand All @@ -280,17 +273,13 @@ services:
depends_on:
node-3-validator:
condition: service_started
inx-indexer:
condition: service_started
networks:
piotrm50 marked this conversation as resolved.
Show resolved Hide resolved
- iota-core
environment:
- "VALIDATOR_PRV_KEY=db39d2fde6301d313b108dc9db1ee724d0f405f6fde966bd776365bc5f4a5fb31e4b21eb51dcddf65c20db1065e1f1514658b23a3ddbf48d30c0efc926a9a648"
command: >
--logger.level=debug
--inx.address=node-3-validator:9029
--validator.accountAddress=rms1pp4wuuz0y42caz48vv876qfpmffswsvg40zz8v79sy8cp0jfxm4kunflcgt


# Create our own network
networks:
Expand Down
2 changes: 1 addition & 1 deletion tools/docker-network/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fi
echo $DOCKER_BUILD_CONTEXT $DOCKERFILE_PATH
docker compose -f $DOCKER_COMPOSE_FILE build --build-arg WITH_GO_WORK=${WITH_GO_WORK:-0} --build-arg DOCKER_BUILD_CONTEXT=${DOCKER_BUILD_CONTEXT} --build-arg DOCKERFILE_PATH=${DOCKERFILE_PATH}

docker compose pull inx-indexer inx-blockissuer inx-faucet
docker compose pull inx-indexer inx-blockissuer inx-faucet inx-validator-1

# check exit code of builder
if [ $? -ne 0 ]; then
Expand Down
94 changes: 70 additions & 24 deletions tools/genesis-snapshot/presets/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,15 @@ var Base = []options.Option[snapshotcreator.Options]{
var Docker = []options.Option[snapshotcreator.Options]{
snapshotcreator.WithFilePath("docker-network.snapshot"),
snapshotcreator.WithAccounts(
snapshotcreator.AccountDetails{ // node-1-validator
snapshotcreator.AccountDetails{
/*
node-01-validator

Ed25519 Public Key: 293dc170d9a59474e6d81cfba7f7d924c09b25d7166bcfba606e53114d0a758b
Ed25519 Address: rms1qzg8cqhfxqhq7pt37y8cs4v5u4kcc48lquy2k73ehsdhf5ukhya3ytgk0ny
Account Address: rms1pzg8cqhfxqhq7pt37y8cs4v5u4kcc48lquy2k73ehsdhf5ukhya3y5rx2w6
Restricted Address: rms1xqqfqlqzayczurc9w8cslzz4jnjkmrz5lurs32m68x7pkaxnj6unkyspqg8mulpm, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0x293dc170d9a59474e6d81cfba7f7d924c09b25d7166bcfba606e53114d0a758b"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0x293dc170d9a59474e6d81cfba7f7d924c09b25d7166bcfba606e53114d0a758b"))),
Amount: mock.MinValidatorAccountAmount,
Expand All @@ -49,7 +57,15 @@ var Docker = []options.Option[snapshotcreator.Options]{
StakedAmount: mock.MinValidatorAccountAmount,
Mana: iotago.Mana(mock.MinValidatorAccountAmount),
},
snapshotcreator.AccountDetails{ // node-2-validator
snapshotcreator.AccountDetails{
/*
node-02-validator

Ed25519 Public Key: 05c1de274451db8de8182d64c6ee0dca3ae0c9077e0b4330c976976171d79064
Ed25519 Address: rms1qqm4xk8e9ny5w5rxjkvtp249tfhlwvcshyr3pc0665jvp7g3hc875flpz2p
Account Address: rms1pqm4xk8e9ny5w5rxjkvtp249tfhlwvcshyr3pc0665jvp7g3hc875k538hl
Restricted Address: rms1xqqrw56clykvj36sv62e3v9254dxlaenzzuswy8plt2jfs8ezxlql6spqgkulf7u, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0x05c1de274451db8de8182d64c6ee0dca3ae0c9077e0b4330c976976171d79064"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0x05c1de274451db8de8182d64c6ee0dca3ae0c9077e0b4330c976976171d79064"))),
Amount: mock.MinValidatorAccountAmount,
Expand All @@ -61,7 +77,15 @@ var Docker = []options.Option[snapshotcreator.Options]{
StakedAmount: mock.MinValidatorAccountAmount,
Mana: iotago.Mana(mock.MinValidatorAccountAmount),
},
snapshotcreator.AccountDetails{ // node-3-validator
snapshotcreator.AccountDetails{
/*
node-03-validator

Ed25519 Public Key: 1e4b21eb51dcddf65c20db1065e1f1514658b23a3ddbf48d30c0efc926a9a648
Ed25519 Address: rms1qp4wuuz0y42caz48vv876qfpmffswsvg40zz8v79sy8cp0jfxm4kuvz0a44
Account Address: rms1pp4wuuz0y42caz48vv876qfpmffswsvg40zz8v79sy8cp0jfxm4kunflcgt
Restricted Address: rms1xqqx4mnsfuj4tr525a3slmgpy8d9xp6p3z4ugganckqslq97fymwkmspqgnzrkjq, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0x1e4b21eb51dcddf65c20db1065e1f1514658b23a3ddbf48d30c0efc926a9a648"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0x1e4b21eb51dcddf65c20db1065e1f1514658b23a3ddbf48d30c0efc926a9a648"))),
Amount: mock.MinValidatorAccountAmount,
Expand All @@ -77,10 +101,11 @@ var Docker = []options.Option[snapshotcreator.Options]{
/*
inx-blockissuer

ed25519 private key: 432c624ca3260f910df35008d5c740593b222f1e196e6cdb8cd1ad080f0d4e33997be92a22b1933f36e26fba5f721756f95811d6b4ae21564197c2bfa4f28270
ed25519 public key: 997be92a22b1933f36e26fba5f721756f95811d6b4ae21564197c2bfa4f28270
ed25519 address: edc1c3a42a60a04b69c2fbb6e886414c71c464afbc7d19fb63b36a8065334ada
bech32 address: rms1prkursay9fs2qjmfctamd6yxg9x8r3ry47786x0mvwek4qr9xd9d5c6gkun
Ed25519 Private Key: 432c624ca3260f910df35008d5c740593b222f1e196e6cdb8cd1ad080f0d4e33997be92a22b1933f36e26fba5f721756f95811d6b4ae21564197c2bfa4f28270
Ed25519 Public Key: 997be92a22b1933f36e26fba5f721756f95811d6b4ae21564197c2bfa4f28270
Ed25519 Address: rms1qrkursay9fs2qjmfctamd6yxg9x8r3ry47786x0mvwek4qr9xd9d583cnpd
Account Address: rms1prkursay9fs2qjmfctamd6yxg9x8r3ry47786x0mvwek4qr9xd9d5c6gkun
Restricted Address: rms1xqqwmswr5s4xpgztd8p0hdhgseq5cuwyvjhmclgeld3mx65qv5e54kspqgda0nrn, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0x997be92a22b1933f36e26fba5f721756f95811d6b4ae21564197c2bfa4f28270"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0x997be92a22b1933f36e26fba5f721756f95811d6b4ae21564197c2bfa4f28270"))),
Expand All @@ -95,12 +120,10 @@ var Docker = []options.Option[snapshotcreator.Options]{
/*
inx-faucet

ed25519 private key: de52b9964dda96564e9fab362ab16c2669c715c6a2a853bece8a25fc58c599755b938327ea463e0c323c0fd44f6fc1843ed94daecc6909c6043d06b7152e4737
ed25519 public key: 5b938327ea463e0c323c0fd44f6fc1843ed94daecc6909c6043d06b7152e4737
ed25519 address: 2f64f9d179991f50542b01e034fa043b195403875b8677efaf196b41c88803d0
bech32 address: rms1qqhkf7w30xv375z59vq7qd86qsa3j4qrsadcval04uvkkswg3qpaqf4hga2

=> restricted address with mana enabled: rms1xqqz7e8e69uej86s2s4srcp5lgzrkx25qwr4hpnha7h3j66pezyq85qpqg55v3ur
Ed25519 Private Key: de52b9964dda96564e9fab362ab16c2669c715c6a2a853bece8a25fc58c599755b938327ea463e0c323c0fd44f6fc1843ed94daecc6909c6043d06b7152e4737
Ed25519 Public Key: 5b938327ea463e0c323c0fd44f6fc1843ed94daecc6909c6043d06b7152e4737
Ed25519 Address: rms1qqhkf7w30xv375z59vq7qd86qsa3j4qrsadcval04uvkkswg3qpaqf4hga2
Restricted Address: rms1xqqz7e8e69uej86s2s4srcp5lgzrkx25qwr4hpnha7h3j66pezyq85qpqg55v3ur, Capabilities: mana
*/
snapshotcreator.BasicOutputDetails{
Address: lo.Return2(iotago.ParseBech32("rms1xqqz7e8e69uej86s2s4srcp5lgzrkx25qwr4hpnha7h3j66pezyq85qpqg55v3ur")),
Expand All @@ -125,7 +148,15 @@ var Docker = []options.Option[snapshotcreator.Options]{
var Feature = []options.Option[snapshotcreator.Options]{
snapshotcreator.WithFilePath("docker-network.snapshot"),
snapshotcreator.WithAccounts(
snapshotcreator.AccountDetails{ // node-01
snapshotcreator.AccountDetails{
/*
node-01-validator

Ed25519 Public Key: 01fb6b9db5d96240aef00bc950d1c67a6494513f6d7cf784e57b4972b96ab2fe
Ed25519 Address: rms1qqlhggrg2ml9p0q5c4593r2yd3jwgxn20d65ulyw6z9r7xmm78apq4y2mxh
Account Address: rms1pqlhggrg2ml9p0q5c4593r2yd3jwgxn20d65ulyw6z9r7xmm78apq2067mf
Restricted Address: rms1xqqr7apqdpt0u59uznzkskydg3kxfeq6dfah2nnu3mgg50cm00cl5yqpqgrpy62q, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0x01fb6b9db5d96240aef00bc950d1c67a6494513f6d7cf784e57b4972b96ab2fe"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0x01fb6b9db5d96240aef00bc950d1c67a6494513f6d7cf784e57b4972b96ab2fe"))),
Amount: mock.MinValidatorAccountAmount,
Expand All @@ -137,7 +168,15 @@ var Feature = []options.Option[snapshotcreator.Options]{
StakedAmount: mock.MinValidatorAccountAmount,
Mana: iotago.Mana(mock.MinValidatorAccountAmount),
},
snapshotcreator.AccountDetails{ // node-02
snapshotcreator.AccountDetails{
/*
node-02-validator

Ed25519 Public Key: 83e7f71a440afd48981a8b4684ddae24434b7182ce5c47cfb56ac528525fd4b6
Ed25519 Address: rms1qzjwamvhjuqtw3dkfwmmj2fgcetcdyt4uxrnjxel4caxfstzz903ypu8xvn
Account Address: rms1pzjwamvhjuqtw3dkfwmmj2fgcetcdyt4uxrnjxel4caxfstzz903y7hhr3d
Restricted Address: rms1xqq2fmhdj7tspd69ke9m0wff9rr90p53whscwwgm87hr5expvgg47yspqgm6whkx, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0x83e7f71a440afd48981a8b4684ddae24434b7182ce5c47cfb56ac528525fd4b6"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0x83e7f71a440afd48981a8b4684ddae24434b7182ce5c47cfb56ac528525fd4b6"))),
Amount: mock.MinValidatorAccountAmount,
Expand All @@ -149,7 +188,15 @@ var Feature = []options.Option[snapshotcreator.Options]{
StakedAmount: mock.MinValidatorAccountAmount,
Mana: iotago.Mana(mock.MinValidatorAccountAmount),
},
snapshotcreator.AccountDetails{ // node-03
snapshotcreator.AccountDetails{
/*
node-03-validator

Ed25519 Public Key: ac628986b2ef52a1679f2289fcd7b4198476976dea4c30ae34ff04ae52e14805
Ed25519 Address: rms1qz6kedkxyw9md2cmp0wcdhvsxrn2e7gzuyly76ffymy4dhvtkm58qlkjupg
Account Address: rms1pz6kedkxyw9md2cmp0wcdhvsxrn2e7gzuyly76ffymy4dhvtkm58qqazeuk
Restricted Address: rms1xqqt2m9kcc3chd4trv9ampkajqcwdt8eqtsnunmf9ynvj4ka3wmwsuqpqgvp9zxl, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0xac628986b2ef52a1679f2289fcd7b4198476976dea4c30ae34ff04ae52e14805"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0xac628986b2ef52a1679f2289fcd7b4198476976dea4c30ae34ff04ae52e14805"))),
Amount: mock.MinValidatorAccountAmount,
Expand All @@ -165,9 +212,10 @@ var Feature = []options.Option[snapshotcreator.Options]{
/*
inx-blockissuer

ed25519 public key: 670a1a20ddb02a6cec53ec3196bc7d5bd26df2f5a6ca90b5fffd71364f104b25
ed25519 address: 3b07e3e84c1276f0b9d35cf218b3763e0cbdadaa7ca38588de2170c31b38e9bb
bech32 address: rms1pqas0clgfsf8du9e6dw0yx9nwclqe0dd4f728pvgmcshpscm8r5mkddrrfc
Ed25519 Public Key: 670a1a20ddb02a6cec53ec3196bc7d5bd26df2f5a6ca90b5fffd71364f104b25
Ed25519 Address: rms1qqas0clgfsf8du9e6dw0yx9nwclqe0dd4f728pvgmcshpscm8r5mkjxnx5x
Account Address: rms1pqas0clgfsf8du9e6dw0yx9nwclqe0dd4f728pvgmcshpscm8r5mkddrrfc
Restricted Address: rms1xqqrkplrapxpyahsh8f4eusckdmrur9a4k48egu93r0zzuxrrvuwnwcpqgj0nu8t, Capabilities: mana
*/
AccountID: blake2b.Sum256(lo.PanicOnErr(hexutil.DecodeHex("0x670a1a20ddb02a6cec53ec3196bc7d5bd26df2f5a6ca90b5fffd71364f104b25"))),
Address: iotago.Ed25519AddressFromPubKey(lo.PanicOnErr(hexutil.DecodeHex("0x670a1a20ddb02a6cec53ec3196bc7d5bd26df2f5a6ca90b5fffd71364f104b25"))),
Expand All @@ -182,11 +230,9 @@ var Feature = []options.Option[snapshotcreator.Options]{
/*
inx-faucet

ed25519 public key: dcd760a51cfafe901f4ca0745d399af7146028af643e8a339c7bb82fbb1be7f9
ed25519 address: 48acd764f626523646d5ccf22f807e96d30b7ab0064f370b66fa811985985ec4
bech32 address: rms1qpy2e4my7cn9ydjx6hx0ytuq06tdxzm6kqry7dctvmagzxv9np0vg9c55n4

=> restricted address with mana enabled: rms1xqqy3txhvnmzv53kgm2ueu30splfd5ct02cqvnehpdn04qgeskv9a3qpqgrhlhv3
Ed25519 Public Key: dcd760a51cfafe901f4ca0745d399af7146028af643e8a339c7bb82fbb1be7f9
Ed25519 Address: rms1qpy2e4my7cn9ydjx6hx0ytuq06tdxzm6kqry7dctvmagzxv9np0vg9c55n4
Restricted Address: rms1xqqy3txhvnmzv53kgm2ueu30splfd5ct02cqvnehpdn04qgeskv9a3qpqgrhlhv3, Capabilities: mana
*/
snapshotcreator.BasicOutputDetails{
Address: lo.Return2(iotago.ParseBech32("rms1xqqy3txhvnmzv53kgm2ueu30splfd5ct02cqvnehpdn04qgeskv9a3qpqgrhlhv3")),
Expand Down
Loading