Skip to content

Commit

Permalink
Update options.ts
Browse files Browse the repository at this point in the history
Register SpCoreSr25519Public to fix error
```
Error: createType(SpCoreSr25519Public):: DoNotConstruct: Cannot construct unknown type SpCoreSr25519Public
```
  • Loading branch information
l00k authored Apr 30, 2024
1 parent 39f242c commit 2165b35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/packages/sdk/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import SubstrateLookupTypes from '@polkadot/types-augment/lookup/substrate'
export const types = {
ContractId: 'H256',
EcdhPublicKey: 'SpCoreSr25519Public',
SpCoreSr25519Public: '[u8; 32]',
ContractQueryHead: {
id: 'ContractId',
nonce: '[u8; 32]',
Expand Down

0 comments on commit 2165b35

Please sign in to comment.