Skip to content
Snippets Groups Projects
Commit da294511 authored by Bernardo Cardoso's avatar Bernardo Cardoso
Browse files

Fix Cmix pallet queries

parent 93aeb110
No related branches found
No related tags found
1 merge request!4Fix Cmix pallet queries
...@@ -339,7 +339,7 @@ def poll_point_info(substrate): ...@@ -339,7 +339,7 @@ def poll_point_info(substrate):
# Get Cmix Variables # Get Cmix Variables
try: try:
cmix_variables = substrate.query( cmix_variables = substrate.query(
module='XXNetwork', module='XXCmix',
storage_function='CmixVariables', storage_function='CmixVariables',
params=[] params=[]
) )
...@@ -373,7 +373,7 @@ def push_point_info(substrate, call_function, keypair, wallet_points): ...@@ -373,7 +373,7 @@ def push_point_info(substrate, call_function, keypair, wallet_points):
log.debug(f"Attempting to submit {call_function} with points: {wallet_points}") log.debug(f"Attempting to submit {call_function} with points: {wallet_points}")
call = substrate.compose_call( call = substrate.compose_call(
call_module='XXNetwork', call_module='XXCmix',
call_function=call_function, call_function=call_function,
call_params={"data": wallet_points} call_params={"data": wallet_points}
) )
......
...@@ -258,7 +258,7 @@ def poll_cmix_info(substrate): ...@@ -258,7 +258,7 @@ def poll_cmix_info(substrate):
# Get Cmix Variables # Get Cmix Variables
try: try:
cmix_variables = substrate.query( cmix_variables = substrate.query(
module='XXNetwork', module='XXCmix',
storage_function='CmixVariables', storage_function='CmixVariables',
params=[] params=[]
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment