Skip to content

Commit

Permalink
chore: update cowsay version smart contract call (#73)
Browse files Browse the repository at this point in the history
* chore: update cowsay version for smart contract call (on docs and smart contract)

* chore: remove extra whitespace
  • Loading branch information
AquiGorka authored May 1, 2024
1 parent 7cedeab commit 7e0e0c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/smart-contract-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ contract ExampleClient is Ownable, Initializable, ILilypadJobClient {
string[] memory inputs = new string[](1);
inputs[0] = string(abi.encodePacked("Message=", message));
uint256 id = jobManagerContract.runJob(
"cowsay:v0.0.1",
"cowsay:v0.0.3",
inputs,
msg.sender
);
Expand Down Expand Up @@ -150,7 +150,7 @@ async function main() {
if(!receipt) throw new Error(`no receipt`)

console.log(`submitted job: ${runjobTx.hash}`)

let jobID = 0

receipt.logs.forEach(log => {
Expand Down
2 changes: 1 addition & 1 deletion hardhat/contracts/ExampleClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ contract ExampleClient is Ownable, Initializable, ILilypadJobClient {
string[] memory inputs = new string[](1);
inputs[0] = string(abi.encodePacked("Message=", message));
uint256 id = jobManagerContract.runJob(
"cowsay:v0.0.1",
"cowsay:v0.0.3",
inputs,
msg.sender
);
Expand Down

0 comments on commit 7e0e0c1

Please sign in to comment.