Skip to content

Commit

Permalink
chore: add btc to e2e test data (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcar121293 authored Jun 5, 2024
1 parent cfc09d8 commit f2d6e81
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions migrations/local.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000000800",
"toDomain":"2",
"feeAmount":"100000000000000"
},
{
"type":"basic",
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000001000",
"toDomain":"2",
"feeAmount":"100000000000000"
},
{
"type":"basic",
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000001000",
"toDomain":"4",
"feeAmount":"100000000000000"
}
],
"access":{
Expand Down Expand Up @@ -135,6 +147,14 @@
"feeType":"oracle",
"strategy":"mb",
"decimals":20
},
{
"name":"BTCTest",
"symbol":"BTCTST",
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000001000",
"feeType":"basic",
"strategy":"lr",
"decimals":8
}
],
"permissionedGeneric":[
Expand Down Expand Up @@ -208,6 +228,18 @@
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000000800",
"toDomain":"1",
"feeAmount":"100000000000000"
},
{
"type":"basic",
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000001000",
"toDomain":"1",
"feeAmount":"100000000000000"
},
{
"type":"basic",
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000001000",
"toDomain":"4",
"feeAmount":"100000000000000"
}
],
"access":{
Expand Down Expand Up @@ -281,6 +313,14 @@
"feeType":"oracle",
"strategy":"mb",
"decimals":20
},
{
"name":"BTCTest",
"symbol":"BTCTST",
"resourceID":"0x0000000000000000000000000000000000000000000000000000000000001000",
"feeType":"basic",
"strategy":"lr",
"decimals":8
}
],
"permissionedGeneric":[
Expand Down
2 changes: 1 addition & 1 deletion migrations/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async function setupErc20(
erc20HandlerInstance.address,
erc20.resourceID,
erc20Instance.address,
emptySetResourceData
Ethers.utils.hexlify(Number(erc20.decimals))
);

// strategy can be either mb (mint/burn) or lr (lock/release)
Expand Down

0 comments on commit f2d6e81

Please sign in to comment.