Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
  • Loading branch information
xermicus committed Apr 3, 2024
1 parent 6d989c7 commit dd85d94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions integration/polkadot/events.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ describe('Deploy events contract and test event data, docs and topics', () => {
expect(events[2].event.identifier).toBe("Events::ThisEventTopicShouldGetHashed");
expect(events[2].args.map(a => a.toJSON())).toEqual([alice.address]);

// We expect the 3rd event to yields the following event topics:
//
// Expect the 3rd event to yield the following event topics:
// - blake2x256 sum of its signature: 'ThisEventTopicShouldGetHashed(address)'
// - Address of the caller

Expand All @@ -55,7 +54,6 @@ describe('Deploy events contract and test event data, docs and topics', () => {
expect(events[3].args.map(a => a.toJSON())).toEqual([true]);

// The 4th event yields the following event topics:
//
// - blake2x256 sum of its signature: 'Event(bool)'
// - unhashed data (because encoded length is <= 32 bytes) of 'true'

Expand Down
2 changes: 1 addition & 1 deletion integration/polkadot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Integration tests with Solang and Polkadot",
"main": "index.js",
"scripts": {
"test": "tsc; ts-mocha -t 20000 --exit events.spec.ts",
"test": "tsc; ts-mocha -t 20000 --exit *.spec.ts",
"build": "./build.sh",
"build-ink": "docker run --rm -v $(pwd)/ink/caller:/opt/contract ghcr.io/hyperledger/solang-substrate-ci:62a8a6c cargo contract build --release --manifest-path /opt/contract/Cargo.toml"
},
Expand Down

0 comments on commit dd85d94

Please sign in to comment.