Skip to content

Commit

Permalink
chore: update wallet servers
Browse files Browse the repository at this point in the history
  • Loading branch information
themantre committed Mar 15, 2024
1 parent 8ba9e34 commit 6ed094c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 2 additions & 2 deletions genesis/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ func TestGenesisTestnet(t *testing.T) {
assert.Equal(t, len(gen.Validators()), 4)
assert.Equal(t, len(gen.Accounts()), 5)

genTime, _ := time.Parse("2006-01-02", "2024-03-15")
expected, _ := hash.FromString("2787177defd28559f3522878be0109dfe005dc82c292a28e471d89114bc8e8ad")
genTime, _ := time.Parse("2006-01-02", "2024-03-16")
expected, _ := hash.FromString("13f96e6fbc9e0de0d53537ac5e894fc8e66be1600436db2df1511dc30696e822")
assert.Equal(t, gen.Hash(), expected)
assert.Equal(t, gen.GenesisTime(), genTime)
assert.Equal(t, gen.Params().BondInterval, uint32(360))
Expand Down
2 changes: 1 addition & 1 deletion genesis/testnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"genesis_time": "2024-03-15T00:00:00Z",
"genesis_time": "2024-03-16T00:00:00Z",
"params": {
"block_version": 1,
"block_interval_in_second": 10,
Expand Down
20 changes: 18 additions & 2 deletions wallet/servers.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,23 @@
"testnet": [
{
"ip": "localhost:50052",
"name": "testnet-1"
"name": "localhost"
},
{
"ip": "testnet1.pactus.org:50051",
"name": "testnet1"
},
{
"ip": "testnet2.pactus.org:50051",
"name": "testnet2"
},
{
"ip": "testnet3.pactus.org:50051",
"name": "testnet3"
},
{
"ip": "testnet4.pactus.org:50051",
"name": "testnet4"
}
]
}
}

0 comments on commit 6ed094c

Please sign in to comment.