diff --git a/api/test/robot_tests/cmd/cmd.robot b/api/test/robot_tests/cmd/cmd.robot index fdc2d5232..c0a3a2536 100644 --- a/api/test/robot_tests/cmd/cmd.robot +++ b/api/test/robot_tests/cmd/cmd.robot @@ -16,6 +16,7 @@ POST a Smart Contract ${data}= Create Dictionary ... walletNickname=${WALLET_NICKNAME} ... coins=3000000000 + ... fee=1000 ${file}= Create Dictionary smartContract=${sc} ${response}= POST ${API_URL}/cmd/deploySC data=${data} files=${file} expected_status=any Log To Console json response: ${response.json()} # Print the response content to the test log for debugging @@ -34,6 +35,7 @@ POST /cmd/executeFunction sync ... name=event ... at=${DEPLOYED_SC_ADDR} ... args=${argument} + ... fee=1000 ${response}= POST ... ${API_URL}/cmd/executeFunction ... json=${data} @@ -47,6 +49,7 @@ POST /cmd/executeFunction sync without arguments ... name=test ... at=${DEPLOYED_SC_ADDR} ... args= + ... fee=1000 ${response}= POST ... ${API_URL}/cmd/executeFunction ... json=${data} @@ -63,7 +66,8 @@ POST /cmd/executeFunction async ... at=${DEPLOYED_SC_ADDR} ... args=${argument} ... async=${True} - ${response}= POST + ... fee=1000 + ${response}= POST ... ${API_URL}/cmd/executeFunction ... json=${data} ... expected_status=${STATUS_OK} @@ -77,7 +81,7 @@ POST /cmd/executeFunction async POST /cmd/deploySC with invalid datastore ${sc}= Get File For Streaming Upload ${CURDIR}/../../testSC/build/main-testSC.wasm - ${data}= Create Dictionary walletNickname=${WALLET_NICKNAME} datastore=invalid + ${data}= Create Dictionary walletNickname=${WALLET_NICKNAME} datastore=invalid fee=1000 ${file}= Create Dictionary smartContract=${sc} ${response}= POST ... ${API_URL}/cmd/deploySC @@ -94,6 +98,7 @@ POST /cmd/executeFunction with invalid address ... name=event ... at=invalid ... args=${argument} + ... fee=1000 ${response}= POST ... ${API_URL}/cmd/executeFunction ... json=${data} @@ -109,6 +114,7 @@ POST /cmd/executeFunction with invalid arguments ... name=event ... at=AS12YBWcNcmN8wugh8xTZiyt48JjHqrNtem96jiCoGEZFGZPUyei6 ... args=invalid + ... fee=1000 ${response}= POST ... ${API_URL}/cmd/executeFunction ... json=${data} @@ -121,6 +127,7 @@ POST /cmd/executeFunction with invalid function name ... nickname=${WALLET_NICKNAME} ... name=invalid ... at=${DEPLOYED_SC_ADDR} + ... fee=1000 ${response}= POST ... ${API_URL}/cmd/executeFunction ... json=${data} diff --git a/api/test/robot_tests/event_manager/keywords.resource b/api/test/robot_tests/event_manager/keywords.resource index 9c49f15ab..92c9a626f 100644 --- a/api/test/robot_tests/event_manager/keywords.resource +++ b/api/test/robot_tests/event_manager/keywords.resource @@ -16,6 +16,7 @@ Deploy testSC ${data}= Create Dictionary ... walletNickname=${WALLET_NICKNAME} ... coins=3000000000 + ... fee=1000 ${file}= Create Dictionary smartContract=${sc} ${response}= POST ${API_URL}/cmd/deploySC data=${data} files=${file} expected_status=${STATUS_OK} Should Contain ${response.json()['firstEvent']['data']} TestSC is deployed at : @@ -40,6 +41,7 @@ Generate Event ... at=${DEPLOYED_SC_ADDR} ... args=${argument} ... stream=${False} + ... fee=1000 ${response}= POST ... ${API_URL}/cmd/executeFunction diff --git a/api/test/robot_tests/web_on_chain/web_on_chain.robot b/api/test/robot_tests/web_on_chain/web_on_chain.robot index a6552ed02..d8b0337c8 100644 --- a/api/test/robot_tests/web_on_chain/web_on_chain.robot +++ b/api/test/robot_tests/web_on_chain/web_on_chain.robot @@ -59,6 +59,7 @@ POST /cmd/executeFunction To remove the dns entry ... name=dns1_deleteEntryFromDNS ... at=${DNS} ... args=${argument} + ... fee=1000 ${response}= POST ... ${API_URL}/cmd/executeFunction ... json=${data}