-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: update SDK to new Iroha2 version with Trigger metadata suppo…
…rt (#407) Signed-off-by: Timur Guskov <[email protected]> Co-authored-by: Timur Guskov <[email protected]>
- Loading branch information
Showing
11 changed files
with
269 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.72 KB
(100%)
modules/client/src/test/resources/create_nft_for_alice_smartcontract.wasm
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
modules/model/src/main/kotlin/jp/co/soramitsu/iroha2/generated/MetadataChangedOfTriggerId.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// | ||
// Auto-generated file. DO NOT EDIT! | ||
// | ||
package jp.co.soramitsu.iroha2.generated | ||
|
||
import jp.co.soramitsu.iroha2.codec.ScaleCodecReader | ||
import jp.co.soramitsu.iroha2.codec.ScaleCodecWriter | ||
import jp.co.soramitsu.iroha2.codec.ScaleReader | ||
import jp.co.soramitsu.iroha2.codec.ScaleWriter | ||
import jp.co.soramitsu.iroha2.wrapException | ||
import kotlin.Unit | ||
|
||
/** | ||
* MetadataChangedOfTriggerId | ||
* | ||
* Generated from 'MetadataChangedOfTriggerId' regular structure | ||
*/ | ||
public data class MetadataChangedOfTriggerId( | ||
public val targetId: TriggerId, | ||
public val key: Name, | ||
public val `value`: Value, | ||
) { | ||
public companion object : | ||
ScaleReader<MetadataChangedOfTriggerId>, | ||
ScaleWriter<MetadataChangedOfTriggerId> { | ||
override fun read(reader: ScaleCodecReader): MetadataChangedOfTriggerId = try { | ||
MetadataChangedOfTriggerId( | ||
TriggerId.read(reader), | ||
Name.read(reader), | ||
Value.read(reader), | ||
) | ||
} catch (ex: Exception) { | ||
throw wrapException(ex) | ||
} | ||
|
||
override fun write(writer: ScaleCodecWriter, instance: MetadataChangedOfTriggerId): Unit = try { | ||
TriggerId.write(writer, instance.targetId) | ||
Name.write(writer, instance.key) | ||
Value.write(writer, instance.`value`) | ||
} catch (ex: Exception) { | ||
throw wrapException(ex) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters