Jaco Greeff and Amaury Martiny
50a2314544
Extrinsic v2 ( #1150 )
...
* Extrinsic v2
* Save after last move of files
* Signature V2
* Rework signature decoding
* Simplify V1 and V2 underlying impl.
* Detect chain extrinsic version
* SignaturePayload
* remove Raw payload variant link (Payload is now raw)
* Remove v2 comments referring to v1 data
* Pass isSigned to Extrinsic{V1, V2}
* Cleanup era injection
* It flows :)
* Add SignerPayload and signPayload for Signer (#1152 )
* Add SignerPayload and signPayload for Signer
* Submittables use signPayload
* Don't pass version on deprecated interface
* Update after all e2e tx tests passes
* Comment around payload generation
* Adjust blocktime to default (nice round 50 block eras)
* Fix calc
* Re-add test comment
* Update packages/api/src/types.ts
Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com >
* Update packages/types/src/primitive/BalanceCompact.ts
Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com >
* Backwards compatibility for current in-store signers
* Apply options suggestions
* Add missing Compact params (linting)
2019-07-22 17:08:06 +02:00
Travis CI
ed0979a50c
[CI Skip] 0.82.0-beta.79
2019-07-22 13:00:00 +00:00
Jaco Greeff
dd7b138c02
Move contracts classes to srml/contracts (now as types-only) ( #1153 )
...
* Move contracts classes to srml/contracts (now as types-only)
* Exclude srml generated files from codeclimate
* Alos excluse types/src/scripts
* Replace Compact<T>.toBn() with unwrap()
* Fic compact type (#1156 )
* Remove as unknown as T (T typing is working)
* Move interfaces back to the relevant types.ts
2019-07-22 14:49:08 +02:00
Travis CI
0c7794198a
[CI Skip] 0.82.0-beta.78
2019-07-21 08:47:01 +00:00
Travis CI
80305f5a34
[CI Skip] 0.82.0-beta.77
2019-07-20 09:00:07 +00:00
Jaco Greeff
5e0f62c793
Bump deps ( #1148 )
2019-07-20 10:49:01 +02:00
Travis CI
5c105e4bd1
[CI Skip] 0.82.0-beta.76
2019-07-19 21:24:11 +00:00
Jaco Greeff
d5fb040e92
Bump deps
2019-07-19 23:13:24 +02:00
Travis CI
1d6e4ad638
[CI Skip] 0.82.0-beta.75
2019-07-19 19:38:08 +00:00
Travis CI
cbd717ca65
[CI Skip] 0.82.0-beta.74
2019-07-19 10:41:40 +00:00
Jaco Greeff
61065a2ac8
Bump deps
2019-07-19 12:27:47 +02:00
Travis CI
66e77dd67b
[CI Skip] 0.82.0-beta.73
2019-07-19 05:17:47 +00:00
Jaco Greeff
5fe63b4053
Bump deps
2019-07-19 07:06:41 +02:00
Travis CI
62eca6c30d
[CI Skip] 0.82.0-beta.72
2019-07-18 22:36:33 +00:00
Jaco Greeff
37af934be6
Bump deps, export elections ( #1146 )
2019-07-19 00:25:26 +02:00
Travis CI
7933611cc4
[CI Skip] 0.82.0-beta.71
2019-07-18 21:55:53 +00:00
Travis CI
31f81ca41e
[CI Skip] 0.82.0-beta.70
2019-07-17 22:09:44 +00:00
Jaco Greeff
ff69c4378d
Update to latest metadata for 2.x ( #1142 )
...
* Update to latest metadata for 2.x
* ... now with .json saved :)
* Common
2019-07-17 23:59:01 +02:00
Travis CI
13adf14de6
[CI Skip] 0.82.0-beta.69
2019-07-17 20:26:36 +00:00
Travis CI
58e50f0c16
[CI Skip] 0.82.0-beta.68
2019-07-16 21:05:51 +00:00
Travis CI
76d3ac7769
[CI Skip] 0.82.0-beta.67
2019-07-16 19:04:41 +00:00
Jaco Greeff
3b282f0306
Don't export constants as ConstantCodec (TS casting) ( #1140 )
...
* Don't export constants as ConstantCodec (TS casting)
* Import ConstantCodec from types
2019-07-16 20:53:12 +02:00
Travis CI
62e15858c6
[CI Skip] 0.82.0-beta.66
2019-07-16 18:12:32 +00:00
Travis CI
970f689309
[CI Skip] 0.82.0-beta.65
2019-07-16 14:15:16 +00:00
Stefanie Doll
d57dca53f4
Reorganize test setup ( #1132 )
...
* Moved all e2e tests to 'api' folder
* Moved metadata test
* fix imports
* Add jest options for testing the different endpoint types separately
* Add check for empty test suites and return empt test to prevent jest from throwing an error
* Fix import paths
* Fix const tests for polkadot chains
* Update to latest Substrate 2.0 image
* Move contract files for e2e testing to e2e tesing folder
* reorder & fix promise query tests for all test nodes
* final fixes for promise query
* eslint fixes
* removed trailing space
* fix linting errors
* Address codeclimate "Function getWsEndpoints has a Cognitive Complexity of 7 (exceeds 5 allowed)."
* Fix contract ABI import paths
* linter endpoint types
* replace alice with alice_stash
* split off promise-queries file
* Remove apiType, smaller cleanups, added local to only: [] tests suites
* relative paths changed to `@polkadot` import
* moved contract wasm & abi's back to `api-contract`
2019-07-16 16:03:53 +02:00
Travis CI
25e9805622
[CI Skip] 0.82.0-beta.64
2019-07-16 14:00:55 +00:00
Travis CI
e56a3dd373
[CI Skip] 0.82.0-beta.63
2019-07-16 12:58:07 +00:00
Travis CI
c274076c23
[CI Skip] 0.82.0-beta.62
2019-07-16 10:22:53 +00:00
Travis CI
c34ca9c36f
[CI Skip] 0.82.0-beta.61
2019-07-15 16:08:59 +00:00
Travis CI
77932dccab
[CI Skip] 0.82.0-beta.60
2019-07-15 13:12:44 +00:00
Travis CI
283f0c0d64
[CI Skip] 0.82.0-beta.59
2019-07-15 10:03:09 +00:00
Travis CI
9cf0b3462d
[CI Skip] 0.82.0-beta.58
2019-07-15 09:25:02 +00:00
Jaco Greeff
6c9fe763e1
Export meta on consts ( #1119 )
...
* Export meta on consts
* Comment around meta extension
* Add meta manual check
2019-07-15 11:13:59 +02:00
Travis CI
1653b3598b
[CI Skip] 0.82.0-beta.57
2019-07-14 16:35:20 +00:00
Travis CI
a091464172
[CI Skip] 0.82.0-beta.56
2019-07-14 12:17:06 +00:00
Jaco Greeff
f95fb6d186
Bump common
2019-07-14 14:06:20 +02:00
Travis CI
df88326979
[CI Skip] 0.82.0-beta.55
2019-07-14 11:10:34 +00:00
Jaco Greeff
c331cd5b09
Bump deps (incl. sec fixes) ( #1123 )
...
* Bump deps (incl. sec fixes)
* rm -rf tslint.json
2019-07-14 12:59:27 +02:00
Travis CI
660f30a8d3
[CI Skip] 0.82.0-beta.54
2019-07-14 10:25:59 +00:00
Jaco Greeff
71c5920b1f
eslint rules ( #1099 )
...
* Off to the races - 3760 problems (1794 errors, 1966 warnings)
* Convert Array<T> -> T[] (not all correct, eg. extends)
* () => { -> (): void => {
* get is/as -> public get is/as
* public for getters, constructors & base Codec
* Some cleanups from previous overzealous search & replace
* Under 2k, 1874 problems (649 errors, 1225 warnings)
* ^^^ check that commit for details ;)
* Minor.
* rm config header
* Minor cleanups
* Default to tslint, eslint as option
* Trigger
* Update jsonrpc
* 1494 problems (433 errors, 1061 warnings)
* 1103 problems (135 errors, 968 warnings)
* 899 problems (9 errors, 890 warnings)
* 483 problems (9 errors, 474 warnings) (ignore any... for now)
* 366 problems (9 errors, 357 warnings)
* 336 problems (9 errors, 327 warnings)
* 148 problems (9 errors, 139 warnings)
* 31 problems (8 errors, 23 warnings)
* 0, 0
2019-07-14 12:15:14 +02:00
Travis CI
f770fb973f
[CI Skip] 0.82.0-beta.53
2019-07-12 15:45:03 +00:00
Travis CI
bda0815411
[CI Skip] 0.82.0-beta.52
2019-07-12 14:00:12 +00:00
Travis CI
4b0d727e56
[CI Skip] 0.82.0-beta.51
2019-07-12 11:13:07 +00:00
Travis CI
5bc01d3930
[CI Skip] 0.82.0-beta.50
2019-07-12 10:00:40 +00:00
Jaco Greeff
7772caaa9d
Bump metadata ( #1108 )
...
* Bump metadata
* Add Phantom type (grrr... don't like this in meta, but it is what it is)
* yarn test:one Metadata passes
* Update with new section indexes
2019-07-12 11:50:05 +02:00
Travis CI
8522d5943b
[CI Skip] 0.82.0-beta.49
2019-07-12 09:32:29 +00:00
Jaco Greeff
edea20dad8
Export storage prefix on StorageEntry ( #1106 )
2019-07-12 11:22:14 +02:00
Travis CI
fcd706e9f4
[CI Skip] 0.82.0-beta.48
2019-07-11 20:37:34 +00:00
Jaco Greeff
6b0ad95fc8
Bump deps (incl. sec fixes) ( #1107 )
2019-07-11 22:27:02 +02:00
Travis CI
039c12a5bd
[CI Skip] 0.82.0-beta.47
2019-07-11 08:08:37 +00:00