mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
sp-api: Support nested transactions (#14447)
* sp-api: Support nested transactions Adds support for nested transactions in `sp-api` by using `execute_in_transaction`. This was working until a recent refactor, but this was actually not intended. However, supporting nested transactions is a worthwhile feature to have. So, this pr "brings it back" and adds a test to ensure it will not break. * Make clippy happy * Assert that the runtime api type is not unwind safe * Count number of transactions
This commit is contained in:
@@ -30,6 +30,7 @@ criterion = "0.4.0"
|
||||
futures = "0.3.21"
|
||||
log = "0.4.17"
|
||||
sp-core = { version = "21.0.0", path = "../../core" }
|
||||
static_assertions = "1.1.0"
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
|
||||
Reference in New Issue
Block a user