Skip to content

Commit

Permalink
Replace bytes32 with string as default in the first CCM tutorial (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev authored Sep 24, 2023
1 parent 5bc54fc commit f84105d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ To create a new cross-chain messaging contract you will use the `messaging`
Hardhat task available by default in the template.

```
npx hardhat messaging CrossChainMessage message
npx hardhat messaging CrossChainMessage message:string
```

The `messaging` task accepts one or more arguments: the name of the contract and
a list of arguments (optionally with types). The arguments define the contents
of the message that will be sent across chains.

In the example above the message will have only one field: `message` of type
`bytes32`. If the type is not specified it is assumed to be `bytes32`.
`string`. If the type is not specified it is assumed to be `string`.

The `messaging` task has created:

Expand Down

0 comments on commit f84105d

Please sign in to comment.