Skip to content

Commit

Permalink
no lint tagliatelle
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Dec 4, 2024
1 parent 2ee22ca commit 5e725cb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
12 changes: 7 additions & 5 deletions api/test/robot_tests/cmd/cmd.robot
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ POST /cmd/read-only/executesc
Should Contain string(${response.json()}) TestSC is deployed at

POST a Smart Contract
${sc}= Get File For Streaming Upload ${CURDIR}/../../testSC/build/main-testSC.wasm
${data}= Create Dictionary
... walletNickname=${WALLET_NICKNAME}
... coins="3000000000"
... fee="10000000"
${file}= Create Dictionary smartContract=${sc}
... smartContract=${base64encodedSc}
... maxCoins="3000000000000"
... coins="300000000000"
... fee="1000000000"
... parameters=""
... description=""
${file}= Create Dictionary
${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

Expand Down
1 change: 1 addition & 0 deletions api/test/robot_tests/cmd/smart_contract_base64.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions api/test/robot_tests/cmd/variables.resource
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*** Variables ***
${DEPLOYED_SC_ADDR} ${EMPTY}


${base64encodedSc} <your_base64_encoded_string_here>
1 change: 1 addition & 0 deletions pkg/node/sendoperation/sendoperation.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ type OperationResponse struct {
type OperationContent struct {
Description string `json:"description"`
Operation string `json:"operation"`
//nolint:tagliatelle
ChainID uint64 `json:"chainId"`
}

Expand Down

0 comments on commit 5e725cb

Please sign in to comment.