Jaco Greeff
0d68f98c75
Extra block author for babe ( #1227 )
...
* Update examples for 0.90
* Fix number typo
* Adapth to use timestamp.now (blockPeriod now in all versions)
* Babe extract block author
* TODO for cleaner aura extraction
* Update Babe id
* Update & split tests
2019-07-29 21:23:34 +02:00
Travis CI
29bda0b311
[CI Skip] 0.90.0-beta.2
2019-07-29 18:30:20 +00:00
Jaco Greeff
9dd0c6cfd8
Update examples for 0.90 ( #1225 )
...
* Update examples for 0.90
* Fix number typo
* Adapth to use timestamp.now (blockPeriod now in all versions)
2019-07-29 20:19:52 +02:00
Travis CI
a322fad2e9
[CI Skip] 0.90.0-beta.1
2019-07-29 07:58:31 +00:00
a45e313c84
Upgrade guide (to current) ( #1194 )
...
* Upgrade guide (to current)
* ClassOf
* JSON example
* s/srml/interfaces/
* Typos
* Update UPGRADING.md
Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com >
* Add copy-to-apps script
* Properly extend exstended derive types
* Round out UPGRADING
* Version in CHANGELOG
* Typos
* Update UPGRADING.md
* Update CHANGELOG
* Bump common
* 0.90.0-beta.0
* Cleanups
* Split 0.82 & 0.90
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update UPGRADING.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update CHANGELOG.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Update CHANGELOG.md
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com >
* Typo
* findFunction -> api.findCall
2019-07-29 09:48:06 +02:00
Jaco Greeff
fe35527a65
Method -> Call, expose findMethod on api ( #1222 )
...
* Rename Method -> Call (interface, align with Rust)
* Export Call types from types, expose findCall
2019-07-29 09:04:37 +02:00
Jaco Greeff
a06db4cfb9
Swap isPedantic to warn (with fallback) ( #1221 )
...
* Swap isPedantic to warn (with fallback)
* Remove extra instanceof
* One less check (toU8a implies codec)
* Comment typo
* Handle fallback grecefully
2019-07-28 10:45:26 +02:00
Jaco Greeff
38e8ad659a
Cleanup isPedantic mismatches ( #1220 )
...
* Don't assert, warn on isPedantic mismatches
* Re-apply assert
2019-07-28 09:23:22 +02:00
Jaco Greeff
67b66ee34c
Update README.md ( #1219 )
2019-07-28 00:27:10 +02:00
Jaco Greeff
c31bd20c6a
Remove Promise chain, fix formatting test subscription ( #1218 )
2019-07-28 00:20:43 +02:00
Jaco Greeff
4094b44625
Linked queries accept params again ( #1217 )
...
* Linked queries accept params again
* Remove invalidated test, cleanup prefix strip
2019-07-27 23:58:09 +02:00
Jaco Greeff
8aed9a4170
Fix decoding of unsigned extrinsics ( #1216 )
2019-07-27 20:42:27 +02:00
Jaco Greeff
e833069d1e
Update to latest metadata ( #1215 )
2019-07-27 20:00:01 +02:00
Jaco Greeff
5280874fbe
Remove TypeDef duplication ( #1211 )
2019-07-27 11:25:50 +02:00
Jaco Greeff
3db898d104
Moment as definition, u64 ( #1210 )
...
* Moment as definition, u64
* Move Signature (just above extrinsic/block)
* Ordering
* Vec<u8> === Bytes, re-introduce injected type checks
2019-07-27 10:57:06 +02:00
Jaco Greeff
d516e9eefc
Adjust session Keys for Babe ( #1209 )
2019-07-27 08:53:48 +02:00
Jaco Greeff
99368a6d4d
createType allows multiple params ( #1207 )
2019-07-27 08:05:11 +02:00
Jaco Greeff
d56905d1b5
Move Extrinsic/Method to generic ( #1205 )
...
* Move Extrinsic/Method to generic
* Strip Generic* primitives
* Move Origin & Method, pass lint/tests
2019-07-26 18:04:33 +02:00
Jaco Greeff
b3431ce892
Don't export I/U{8|6|32|64|128|256} only lowercase ( #1204 )
2019-07-26 17:15:58 +02:00
Jaco Greeff
02cd1331aa
Move Event, Address, AccountId, AccountIndex to generic ( #1202 )
...
* Move Event, Address, AccountId, AccountIndex to generic
* Move AccountId, AccountIndex, Address & Event to generic
* Move Vote
2019-07-26 16:39:28 +02:00
Amaury Martiny
894f07e3c9
Fix moment is compact again ( #1201 )
2019-07-26 15:54:50 +02:00
Jaco Greeff
70bc823d25
Make Block, Header & Digest generic ( #1196 )
...
* Make Block, Header & Digest generic
* It lints
* Linting passes, tests passes
2019-07-26 14:34:41 +02:00
Amaury Martiny
441148889d
CreateType is typed, add createTypeUnsafe just in case ( #1199 )
...
* Use unsafe internally
* Add comments
* Remove <> in createType
* Fix lint
* Fix classOf
* Remove createType from Text
* Fix lint
* Fix Fallback type
* Fix fallback in createType
2019-07-26 14:00:25 +02:00
Amaury Martiny
ec0b9a84a3
Put all mapping of InterfaceRegistry in one file ( #1200 )
...
* Remove module augmentation
* Put all definitions in one file
* Add back compacts
2019-07-26 13:53:12 +02:00
Jaco Greeff
2a37b8746d
Rename srml to interfaces ( #1198 )
...
* Rename srml to interfaces
* newline, package.json
2019-07-26 12:08:17 +02:00
Jaco Greeff
a0d7a52a5c
Add hash: IHash on Codec base ( #1193 )
...
* Convert RPC classes to primitive classes or /srml types
* Lint passes... lokking at tests next.
* Tests pass.
* Types with basic docs (lots of work here)
* Add hash: IHash on Codec base
* codec hash resturns U8a
* Fix imports
2019-07-26 11:20:34 +02:00
Jaco Greeff
700eb7e1f4
Remove injectDefinitions import, prefer injector ( #1195 )
...
* Convert RPC classes to primitive classes or /srml types
* Lint passes... lokking at tests next.
* Tests pass.
* Types with basic docs (lots of work here)
* Update StorageKey.spec.ts
* Add injector to metadata doc generation
* Fix import
* Remove injectDefinitions import, prefer injector
2019-07-26 11:12:17 +02:00
Jaco Greeff
478f54c703
Convert RPC classes to primitive classes or /srml types ( #1192 )
...
* Convert RPC classes to primitive classes or /srml types
* Lint passes... lokking at tests next.
* Tests pass.
* Types with basic docs (lots of work here)
* Update StorageKey.spec.ts
* Add injector to metadata doc generation
* Fix import
2019-07-26 10:23:37 +02:00
Amaury Martiny
83515fc0a2
ClassOf does not require <T> ( #1190 )
...
* Add InterfaceRegistry
* Update srml script
* Add compact
* Add correct imports
* Auto-generate InterfaceRegistry
* Regenerate
* Simplify code
* add comment
* Fix lint
* Rename var
* Compact encodable abtstactInt
* Fix abstract isChildClass
2019-07-25 20:18:35 +02:00
Jaco Greeff
39323a8896
Convert all type/* (and some primitives) to srml/* ( #1189 )
...
* Convert (almost-all) non-primitives (and some primitives) to srml/*
* Move Vote to primitives, remove type folder
* Move Balance :-o
* Fixup tests, override Balance.toRaw()
2019-07-25 16:34:47 +02:00
Jaco Greeff
6d65095ee0
Allow createType to create sets ( #1191 )
...
* Allow createType to create sets
* build:srmlTs generates types
2019-07-25 15:20:32 +02:00
Jaco Greeff
ed6aad8265
Remove any from storage function param ( #1186 )
2019-07-25 13:43:11 +02:00
Stefanie Doll
dc95d6d727
Description for ExtrinsicsV2 ( #1188 )
2019-07-25 13:18:57 +02:00
Jaco Greeff
a25110b281
Move additional classes to definition-only ( #1165 )
...
* Move additional classes to definition-only
* Move some additional quick-hit types
* Last of the easier type/* conversions
* Remove rhd files
* Remove commented line
* Add injector to types loading
* typo
* Update comment
* Merge master
* Rework & organize CHANGELOG
* Some small helper cleanups
2019-07-25 10:32:26 +02:00
Jaco Greeff
9ef7ee4a67
Unskip additional tests ( #1185 )
2019-07-25 10:29:15 +02:00
Travis CI
65bc0a4a57
[CI Skip] 0.82.0-beta.96
2019-07-24 21:09:04 +00:00
Jaco Greeff
1525d64193
Add missing Babe types ( #1184 )
2019-07-24 22:57:06 +02:00
Travis CI
039d3337c8
[CI Skip] 0.82.0-beta.95
2019-07-24 19:46:43 +00:00
Jaco Greeff
79e5f7c9cc
Metadata v7 ( #1182 )
...
* Make a start... static is in, code copied as a start.
* Get exports (more-or-less) right
* Well, the v7/* tests pass... now just to tweak storage generation
* Linting is happy, it doesn't mean it will work...
* It compiles... ship it.
2019-07-24 21:34:51 +02:00
Travis CI
2a3cc92e91
[CI Skip] 0.82.0-beta.94
2019-07-24 19:17:32 +00:00
Travis CI
3827353c35
[CI Skip] 0.82.0-beta.93
2019-07-24 18:59:23 +00:00
kwingram25
e1cf002a76
Improve voter derive calls ( #1181 )
...
* voterPositions
* cleanup
* rename var
* changes
* export VoterPosition
2019-07-24 19:46:05 +01:00
Travis CI
8bafdc7596
[CI Skip] 0.82.0-beta.92
2019-07-24 15:38:23 +00:00
Amaury Martiny
66ab3ac502
Cache getTypeClass ( #1183 )
...
* Put memoizee only in types
* Add some tests
* Add failing tests
* Make instanceof work
* Better tests
2019-07-24 17:22:49 +02:00
Travis CI
b89e0d5522
[CI Skip] 0.82.0-beta.91
2019-07-24 14:43:45 +00:00
Jaco Greeff
657d241754
Swap &[u8] back to Bytes ( #1180 )
2019-07-24 16:31:24 +02:00
Jaco Greeff
48159cfb5a
DoubleMap extended tests ( #1179 )
...
* DoubleMap extended tests
* TwoX64Concat test (aligned with Rust)
* Remove .only
* Update Type.ts
* And working
* Check the full JSON output for the keys (future-proof)
* Renames
2019-07-24 16:04:55 +02:00
Travis CI
e15db8aed9
[CI Skip] 0.82.0-beta.90
2019-07-24 11:26:16 +00:00
Jaco Greeff
72af35dbcd
Remove .only, re-run Option tests ( #1176 )
2019-07-24 13:11:09 +02:00
Travis CI
9e918bb228
[CI Skip] 0.82.0-beta.89
2019-07-24 10:59:39 +00:00