Skip to content

Commit 9c6557c

Browse files
authored
Merge pull request #51 from Zondax/valpath
adjusting validator path
2 parents ca16408 + 693e868 commit 9c6557c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ COIN=oasis
4848
endif
4949

5050
APPVERSION_M=1
51-
APPVERSION_N=5
52-
APPVERSION_P=1
51+
APPVERSION_N=6
52+
APPVERSION_P=0
5353

5454
$(info COIN = [$(COIN)])
5555
ifeq ($(COIN),oasis)
@@ -62,7 +62,7 @@ SCRIPT_LD:=$(CURDIR)/script_con.ld
6262
else ifeq ($(COIN),oasis_validator)
6363
DEFINES += APP_VALIDATOR
6464
APPNAME = "OasisVal"
65-
APPPATH = "474'/474'"
65+
APPPATH = "43'/474'"
6666
SCRIPT_LD:=$(CURDIR)/script_val.ld
6767

6868
ifeq ($(TARGET_NAME),TARGET_NANOX)

tests_zemu/tests/val.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('Basic checks', function () {
6262
await sim.start(sim_options);
6363
const app = new OasisValidatorApp(sim.getTransport());
6464

65-
const path = [474, 474, 5, 0x80000000, 0x80000003];
65+
const path = [43, 474, 5, 0x80000000, 0x80000003];
6666
const context = "oasis-core/tendermint";
6767

6868
const txBlob0 = Buffer.from("96010802114aa701000000000022480a20843c851b4795252c91b61b7f76615a8bce05b0c0c2d3a3da4af2bf7cef34ba3712240a20155d404d4864d503967e2176cb8fbc030c6c4051402870bfebbd82f8084907c910012a0b089b8fd5f70510e3c9fa2232326136333464323232346435343962383536303338616364396264616434373638346431333236326438376531633062386361", "hex",);

tests_zemu/tools/debug_val.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function beforeEnd() {
2929
async function debugScenario(sim, app) {
3030
// Here you can customize what you want to do :)
3131

32-
const path = [474, 474, 5, 0x80000000, 0x80000003];
32+
const path = [43, 474, 5, 0x80000000, 0x80000003];
3333
const context = "oasis-core/consensus: tx for chain testing";
3434

3535
const txBlob1 = Buffer.from("210801110500000000000000190000000000000000220b088092b8c398feffffff01", "hex",);

0 commit comments

Comments
 (0)