Skip to content

Commit

Permalink
Merge pull request #125 from soramitsu/update/genesis
Browse files Browse the repository at this point in the history
Merge remote-tracking branch 'origin/update/genesis' into update/genesis
  • Loading branch information
timofeevmd authored Jul 11, 2024
2 parents 44b2499 + 338d0d2 commit 05a8fa5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions src/test/java/requests/Transactions.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public class Transactions extends Constants {
}
).body(ByteArrayBody(session -> {
return SignedTransaction.Companion.encode(
/*TransactionBuilder.Companion.builder()
TransactionBuilder.Companion.builder()
.account(ExtensionsKt.asAccountId(session.getString("anotherDevAccountIdSender")))
.chainId(Constants.CHAIN_ID)
.transferAsset(ExtensionsKt.asAssetId(session.getString("anotherDevAssetIdSender")),
Expand All @@ -102,17 +102,16 @@ public class Transactions extends Constants {
.buildSigned(CryptoUtils.keyPairFromHex(
session.getString("publicKeySender"),
session.getString("privateKeySender")
))*/
TransactionBuilder.Companion.builder()
.account(ExtensionsKt.asAccountId("b75167504b664ff4e5ab4016c3131a5578e71bc3e705cfa7776c04178103a59a@bulb_ffafd84a-6994-40f9-9f0e-a461da5d6482_e50583d2-72f7-44e1-8b80-d269bd0b081b"))
))
/*TransactionBuilder.Companion.builder()
.account(ExtensionsKt.asAccountId("CE7FA46C9DCE7EA4B125E2E36BDB63EA33073E7590AC92816AE1E861B7048B03@wonderland"))
.chainId(Constants.CHAIN_ID)
.transferAsset(ExtensionsKt.asAssetId("xor4bad0d98-a969-471b-b733-57113b7c2541_6c3526c2-ea1d-48a1-9a34-27af3eb3dc2b##b75167504b664ff4e5ab4016c3131a5578e71bc3e705cfa7776c04178103a59a@bulb_ffafd84a-6994-40f9-9f0e-a461da5d6482_e50583d2-72f7-44e1-8b80-d269bd0b081b"),
.transferAsset(ExtensionsKt.asAssetId("rose#wonderland#CE7FA46C9DCE7EA4B125E2E36BDB63EA33073E7590AC92816AE1E861B7048B03@wonderland"),
1,
ExtensionsKt.asAccountId("6462b8b672c478dd3ba0097fcc405bc4396fdc459720cf63299467efb84997ec@bulb_ffafd84a-6994-40f9-9f0e-a461da5d6482_e50583d2-72f7-44e1-8b80-d269bd0b081b"))
ExtensionsKt.asAccountId("04FF5B81046DDCCF19E2E451C45DFB6F53759D4EB30FA2EFA807284D1CC33016@wonderland"))
.buildSigned(CryptoUtils.keyPairFromHex(
session.getString("b75167504b664ff4e5ab4016c3131a5578e71bc3e705cfa7776c04178103a59a"),
session.getString("ab78074d854c3cdef2b9aa83a2f6680e987414122d433dd440f4624228e7cc76")
))
"7233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0",
"9ac47abf59b356e0bd7dcbbbb4dec080e302156a48ca907e47cb6aea1d32719e"))*/
);
}
)
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/iroha2_config/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
},
{
"Executor": {
"Fuel": 55000000
"Fuel": 18446744073709551615
}
},
{
"Executor": {
"Memory": 55000000
"Memory": 4294967295
}
},
{
Expand Down

0 comments on commit 05a8fa5

Please sign in to comment.