7 from click
import command, argument, pass_context, Context
13 def submit(ctx: Context, tx_file: str) ->
None:
15 Submit a nested transaction to the aggregation server
17 cmd_ctx: CommandContext = ctx.obj
20 nested_snark = cmd_ctx.get_nested_snark()
22 aggregator_client = cmd_ctx.get_aggregator_client()
23 aggregator_client.submit_nested_transaction(nested_snark, nested_tx)