Skip to content

Commit

Permalink
Fix git actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andlyn666 committed Jul 3, 2024
1 parent d162aee commit 356e565
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 9 additions & 5 deletions tests/scenarios/04__BLS.robot
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ Corner Case2
${log_task_received} = Wait For State TaskReceived task_log ${NODE_PROCESS_LIST} ${False}
Should Be Equal As Strings ${log_task_received} True

${post_process} = Have Node Got Keyword Transaction successful(post_process_dkg) ${NODE_PROCESS_LIST}
Should Be Equal As Strings ${post_process} True

${group1_index_0} = Get Index By Address ${group1_nodes[0]}
Shutdown Listener ${group1_index_0} ${task_type}
${group1_index_1} = Get Index By Address ${group1_nodes[1]}
Expand All @@ -198,6 +201,7 @@ Corner Case2
Shutdown Listener ${group1_index_2} ${task_type}

${group0} = Get Group 0
Group Node Number Should Be 0 3
${one_node_in_group0} = Set Variable ${group0[5][0]}
${node_index} = Get Index By Address ${one_node_in_group0}

Expand Down Expand Up @@ -283,9 +287,9 @@ Test 2 SubId Request At Same Time

Run BLS Test Cases
[Tags] l1
Repeat Keyword 1 BLS Happy Path1
Repeat Keyword 1 BLS Happy Path2
Repeat Keyword 1 Corner Case1
# Repeat Keyword 1 BLS Happy Path1
# Repeat Keyword 1 BLS Happy Path2
# Repeat Keyword 1 Corner Case1
Repeat Keyword 1 Corner Case2
Repeat Keyword 1 Test Request Gas Too Low
Repeat Keyword 1 Test 2 SubId Request At Same Time
# Repeat Keyword 1 Test Request Gas Too Low
# Repeat Keyword 1 Test 2 SubId Request At Same Time
8 changes: 4 additions & 4 deletions tests/scenarios/src/op.resource
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Set Op Enviormnet
Set Environment Variable OP_CONTROLLER_ORACLE_ADDRESS ${contract_addresses['L2']['ControllerOracle']}
Set Environment Variable OP_ADAPTER_ADDRESS ${contract_addresses['L2']['Adapter']}

${result} = Execute Script ControllerLocalTest.s.sol:ControllerLocalTestScript
${result} = Execute Script ControllerLocalTest.s.sol:ControllerLocalTestScript ${EMPTY}

${contract_addresses} = Get Contract Address From Json contracts/deployment-addresses.json
Set Global Variable $CONTRACT_ADDRESSES ${contract_addresses}
Expand All @@ -60,13 +60,13 @@ Set Op Enviormnet
Set Environment Variable ADAPTER_ADDRESS ${contract_addresses['L1']['Adapter']}
Set Environment Variable EXISTING_L1_CONTROLLER_RELAYER ${contract_addresses['L1']['ControllerRelayer']}

${result} = Execute Script CreateAndSetOPChainMessenger.s.sol:CreateAndSetOPChainMessengerScript
${result} = Execute Script CreateAndSetOPChainMessenger.s.sol:CreateAndSetOPChainMessengerScript ${EMPTY}
${contract_addresses} = Get Contract Address From File contracts/broadcast/CreateAndSetOPChainMessenger.s.sol/900/run-latest.json
Set Environment Variable L1_CHAIN_MESSENGER_ADDRESS ${contract_addresses['OPChainMessenger']}
${result} = Execute Script OPControllerOracleInitializationLocalTest.s.sol:OPControllerOracleInitializationLocalTestScript http://localhost:9545
# ${result} = Execute Script OPControllerOracleInitializationLocalTest.s.sol:OPControllerOracleInitializationLocalTestScript http://localhost:9645
${result} = Execute Script InitStakingLocalScenarioTest.s.sol:InitStakingLocalTestScript
${result} = Execute Script StakeOperatorScenarioTest.s.sol:StakeOperatorScenarioTestScript
${result} = Execute Script InitStakingLocalScenarioTest.s.sol:InitStakingLocalTestScript ${EMPTY}
${result} = Execute Script StakeOperatorScenarioTest.s.sol:StakeOperatorScenarioTestScript ${EMPTY}

Bound OP Contract ABI
[Documentation] Bound contract ABI to handle contract function call
Expand Down

0 comments on commit 356e565

Please sign in to comment.