-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from novasamatech/develop
v.11.2
- Loading branch information
Showing
4 changed files
with
35 additions
and
11 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
19 changes: 19 additions & 0 deletions
19
fearless-utils/src/main/java/jp/co/soramitsu/fearless_utils/runtime/extrinsic/BatchMode.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,19 @@ | ||
package jp.co.soramitsu.fearless_utils.runtime.extrinsic | ||
|
||
enum class BatchMode { | ||
|
||
/** | ||
* Execute all calls until finding an uncessffull one | ||
*/ | ||
BATCH, | ||
|
||
/** | ||
* Either execute all calls succeffuly or revert whole batch if at least one call was uncescessfull | ||
*/ | ||
BATCH_ALL, | ||
|
||
/** | ||
* Execute all successfull calls even if there was some unsuccessfull ones in between them | ||
*/ | ||
FORCE_BATCH | ||
} |
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