forked from Supercolony-net/openbrush-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redspot.config.ts
47 lines (46 loc) · 1.02 KB
/
redspot.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { RedspotUserConfig } from 'redspot/types'
import '@redspot/patract'
import '@redspot/chai'
import '@redspot/gas-reporter'
const types = {
ContractsPsp34Id: {
_enum: {
U8: 'u8',
U16: 'u16',
U32: 'u32',
U64: 'u64',
U128: 'u128',
Bytes: 'Vec<u8>'
}
},
ContractsDiamondFacetCut: {
hash: '[u8; 32]',
selectors: 'Vec<[u8; 4]>'
}
}
export default {
defaultNetwork: 'development',
contract: {
ink: {
toolchain: 'nightly',
sources: ['example_project_structure/contracts/**', 'examples/**/', 'mock/**', `!examples/reentrancy_guard/Cargo.toml`]
}
},
networks: {
development: {
endpoint: 'ws://127.0.0.1:9944',
types,
gasLimit: '400000000000',
explorerUrl: 'https://polkadot.js.org/apps/#/explorer/query/?rpc=ws://127.0.0.1:9944/'
},
substrate: {
endpoint: 'ws://127.0.0.1:9944',
gasLimit: '400000000000',
accounts: ['//Alice'],
types
}
},
mocha: {
timeout: 60000
}
} as RedspotUserConfig