Skip to content

Commit

Permalink
Merge pull request #213 from Zondax/mainnet-context
Browse files Browse the repository at this point in the history
Mainnet context
  • Loading branch information
chcmedeiros committed Nov 30, 2023
2 parents 41bc93e + ca71265 commit ed57040
Show file tree
Hide file tree
Showing 28 changed files with 161,762 additions and 2,283 deletions.
2 changes: 1 addition & 1 deletion app/Makefile.version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APPVERSION_M=2
APPVERSION_N=5
APPVERSION_P=6
APPVERSION_P=7
2 changes: 1 addition & 1 deletion app/src/coin.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#define P1_ETH_FIRST 0x00
#define P1_ETH_MORE 0x80

#define MAINNET_GENESIS_HASH "b11b369e0da5bb230b220127f5e7b242d385ef8c6f54906243f30af63c815535"
#define MAINNET_GENESIS_HASH "bb3d748def55bdfb797a2ac53ee6ee141e54cd2ab2dc2375f4a0703a178e6e55"
#define TESTNET_GENESIS_HASH "0b91b8e4e44b2003a7c5e23ddadb5e14ef5345c0ebcb3ddcae07fa2f244cab76"

#define CIPHER_MAIN_RUNID "000000000000000000000000000000000000000000000000e199119c992377cb"
Expand Down
2 changes: 1 addition & 1 deletion deps/ledger-zxlib
40 changes: 20 additions & 20 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,44 @@
},
"homepage": "https://github.com/zondax/ledger-oasis",
"dependencies": {
"@babel/runtime": "^7.23.1",
"@ledgerhq/hw-app-eth": "6.34.7",
"@ledgerhq/hw-transport": "^6.28.8",
"@babel/runtime": "^7.23.2",
"@ledgerhq/hw-app-eth": "6.34.9",
"@ledgerhq/hw-transport": "^6.29.0",
"bech32": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/eslint-parser": "^7.22.15",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/node": "^7.22.19",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"@ledgerhq/hw-transport-node-hid": "^6.27.21",
"@ledgerhq/hw-transport-webusb": "^6.27.19",
"@ledgerhq/logs": "^6.10.1",
"@babel/plugin-transform-runtime": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@ledgerhq/hw-transport-node-hid": "^6.27.22",
"@ledgerhq/hw-transport-webusb": "^6.27.20",
"@ledgerhq/logs": "^6.11.0",
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"babel-jest": "^29.7.0",
"bip32": "4.0.0",
"bip39": "3.1.0",
"core-js": "^3.33.0",
"crypto-js": "4.1.1",
"core-js": "^3.33.2",
"crypto-js": "4.2.0",
"ed25519-supercop": "^2.0.1",
"eslint": "^8.51.0",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.17.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.18.1",
"index.js": "^0.0.3",
"jest": "^29.7.0",
"jest-serial-runner": "^1.2.1",
"js-sha512": "^0.8.0",
"prettier": "^3.0.3",
"vue": "^3.3.4",
"vue-template-compiler": "^2.7.14"
"prettier": "^3.1.0",
"vue": "^3.3.8",
"vue-template-compiler": "^2.7.15"
},
"scripts": {
"build": "babel src --out-dir dist",
Expand Down
1,284 changes: 981 additions & 303 deletions js/yarn.lock

Large diffs are not rendered by default.

162,625 changes: 160,713 additions & 1,912 deletions tests/testvectors/addr0014_generated.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions tests_zemu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,27 @@
"devDependencies": {
"@ethereumjs/common": "^2.4.0",
"@ethereumjs/tx": "^3.2.0",
"@ledgerhq/hw-app-eth": "6.34.7",
"@types/elliptic": "^6.4.15",
"@types/jest": "^29.5.5",
"@types/ledgerhq__hw-transport": "^4.21.4",
"@types/secp256k1": "^4.0.4",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@ledgerhq/hw-app-eth": "6.34.9",
"@types/elliptic": "^6.4.17",
"@types/jest": "^29.5.8",
"@types/ledgerhq__hw-transport": "^4.21.7",
"@types/secp256k1": "^4.0.6",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"blakejs": "^1.1.1",
"bn.js": "^5.2.0",
"crypto-js": "4.1.1",
"crypto-js": "4.2.0",
"ed25519-supercop": "^2.0.1",
"elliptic": "^6.5.4",
"eslint": "^8.51.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"js-sha256": "0.9.0",
"js-sha512": "^0.8.0",
"prettier": "^3.0.1",
"prettier": "^3.1.0",
"secp256k1": "^5.0.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
Expand Down
Binary file modified tests_zemu/snapshots/s-adr0008-0-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/s-adr0008-0-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/s-adr0008-5-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/s-adr0008-5-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/s-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/s-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-adr0008-0-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-adr0008-0-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-adr0008-5-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-adr0008-5-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/sp-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-adr0008-0-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-adr0008-0-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-adr0008-5-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-adr0008-5-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-mainmenu/00004.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests_zemu/snapshots/x-mainmenu/00010.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 30 additions & 30 deletions tests_zemu/tests/adr0014.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe("Standard-Adr0014", function () {
const app = new OasisApp(sim.getTransport());

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -151,7 +151,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -196,7 +196,7 @@ describe("Standard-Adr0014", function () {
const app = new OasisApp(sim.getTransport());

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -206,7 +206,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -251,7 +251,7 @@ describe("Standard-Adr0014", function () {
const app = new OasisApp(sim.getTransport());

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -261,7 +261,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -306,7 +306,7 @@ describe("Standard-Adr0014", function () {
const app = new OasisApp(sim.getTransport());

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -316,7 +316,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse =
Expand Down Expand Up @@ -371,7 +371,7 @@ describe("Standard-Adr0014", function () {
const app = new OasisApp(sim.getTransport());

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -381,7 +381,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse =
Expand Down Expand Up @@ -441,7 +441,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -451,7 +451,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -501,7 +501,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -511,7 +511,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -618,7 +618,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -628,7 +628,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_sr25519(path);
Expand Down Expand Up @@ -679,7 +679,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -689,7 +689,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_sr25519(path);
Expand Down Expand Up @@ -740,7 +740,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -750,7 +750,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_sr25519(path);
Expand Down Expand Up @@ -799,7 +799,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -809,7 +809,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -856,7 +856,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -866,7 +866,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -924,7 +924,7 @@ describe("Standard-Adr0014", function () {
await sim.clickLeft();

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -934,7 +934,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -988,7 +988,7 @@ describe("Standard-Adr0014", function () {
const app = new OasisApp(sim.getTransport());

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -998,7 +998,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down Expand Up @@ -1043,7 +1043,7 @@ describe("Standard-Adr0014", function () {
const app = new OasisApp(sim.getTransport());

const meta = Buffer.from(
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGIxMWIzNjllMGRhNWJiMjMwYjIyMDEyN2Y1ZTdiMjQyZDM4NWVmOGM2ZjU0OTA2MjQzZjMwYWY2M2M4MTU1MzU=",
"ompydW50aW1lX2lkeEAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDBlMmVhYTk5ZmMwMDhmODdmbWNoYWluX2NvbnRleHR4QGJiM2Q3NDhkZWY1NWJkZmI3OTdhMmFjNTNlZTZlZTE0MWU1NGNkMmFiMmRjMjM3NWY0YTA3MDNhMTc4ZTZlNTU=",
"base64",
);

Expand All @@ -1053,7 +1053,7 @@ describe("Standard-Adr0014", function () {
);

const sigCtx = Buffer.from(
"oasis-runtime-sdk/tx: v0 for chain 03e5935652dc03c4a97e07ab2383bfbcc806a6760f872c1782a7ea560f4f7738",
"oasis-runtime-sdk/tx: v0 for chain 70869cb5e35133c69c82c91ccae4cbc0d6c53cfaf5e64fee098b74e7588eba03",
);

const pkResponse = await app.getAddressAndPubKey_ed25519(path);
Expand Down

0 comments on commit ed57040

Please sign in to comment.