Skip to content
Snippets Groups Projects
Commit ae2cf69f authored by Jake Taylor's avatar Jake Taylor :lips:
Browse files

Merge branch 'bernie-c-master-patch-29724' into 'master'

Fix Cmix pallet queries

See merge request !4
parents 93aeb110 da294511
Branches
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