Jaco
d8136a8e61
Bump dev (w/ ts-eslint updates) ( #5691 )
2023-08-16 11:00:52 +03:00
Jaco
61a8b4041e
Use import.meta.url instead of process.cwd() ( #5675 )
...
* Use import.meta.url instead of process.cwd()
* Bump dev
2023-06-16 09:45:32 +03:00
Jaco
c277b3d865
Adjust object index typings ( #5671 )
...
* Adjust object index typings
* CHANGELOG
* Remove dot-notation overrides
* Align overrides
* Ordering
* Revert lint formatting changes
* Bump common
2023-06-11 09:58:20 +03:00
Jaco
9c758cce95
Bump dev (w/ Node 16+ only) ( #5603 )
2023-04-21 13:47:31 +03:00
Jaco
a7526ba5f3
Bump dev ( #5591 )
...
* Bump dev
* Adjust
* Adjust
2023-04-13 13:10:36 +03:00
Jaco
7366fc201d
Fix tests for isize (w/ deps bump) ( #5562 )
2023-03-24 13:56:55 +02:00
Jaco
efbbde74fc
Bump dev deps ( #5547 )
...
* Bump dev deps
* Bump dev
2023-03-16 21:31:57 +02:00
Jaco
058edbe9c5
Bump dev ( #5544 )
...
* Bump dev
* Change ref types
* Fix build
2023-03-15 17:14:35 +02:00
Jaco
5145a0c181
Bump dev ( #5537 )
...
* Bump dev
* Adjust dev/node/test/node.d.ts imports
* Fix types-support imports
* Adjust extensionless imports
2023-03-12 12:05:43 +02:00
Jaco
9fe2798b70
Use .js imports in src ( #5526 )
...
* Use .js imports in src
* Adjust
* Fix imports
* Bump dev
* Adjust with .js imports for typegen
* Adjust
* Adjust
* Remove target override
2023-03-09 12:19:12 +02:00
Jaco
baf681e98d
Bump dev deps ( #5520 )
2023-03-06 14:28:28 +02:00
Jaco
a8d7566186
Adjust tests for node:test env ( #5509 )
2023-02-25 11:48:26 +02:00
Jaco
ea45c7e689
Remove __dirname usages in tests ( #5492 )
2023-02-17 08:20:29 +02:00
Jaco
e759d32bcf
Revert all recent $ renames ( #5429 )
...
* Revert "[CI Skip] bump/beta 9.11.4-6-x"
This reverts commit 7ee4f7aaf8 .
* Revert "Rename Code .registry to .$registry (#5428 )"
This reverts commit dd6826fadd .
* Revert "[CI Skip] bump/beta 9.11.4-5-x"
This reverts commit abc68bf2e2 .
* Revert "Convert encodedLength to $encodedLength (#5426 )"
This reverts commit ccab89304b .
* Revert "[CI Skip] bump/beta 9.11.4-4-x"
This reverts commit 044465eee4 .
* Revert "Rename inspect() to inspectU8a() (#5425 )"
This reverts commit 42af205546 .
* Revert "[CI Skip] bump/beta 9.11.4-3-x"
This reverts commit 545ad50097 .
* Revert "Move .isEmpty to $isEmpty (#5424 )"
This reverts commit 6f19084a4d .
* Revert "[CI Skip] bump/beta 9.11.4-2-x"
This reverts commit 4688291ecf .
* Revert "Warn on deprecated getter usage (#5423 )"
This reverts commit da1cf9d64e .
* Revert "[CI Skip] bump/beta 9.11.4-1-x"
This reverts commit 96a3ef51f0 .
* Revert "Revert "[CI Skip] bump/beta 9.11.4-1-x""
This reverts commit 2eca0730a630d587878f12c141e21ea631dcdd19.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-2-x""
This reverts commit 66284b40692071aa03a1064997c9402fc0b0987c.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-3-x""
This reverts commit 9b820eaefccdb7b51d893000e5480d11e5195e22.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-4-x""
This reverts commit cb5149adf98a5eefd8da61b8793707f85deb7c09.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-5-x""
This reverts commit 489a64439860fefba163695ec36b319dcb1eeddc.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-6-x""
This reverts commit 34a0fd4e2784a1b40ea8e06534d1f39328250e7a.
* Adjust linebreaks
* Adjust isStorageFallback naming
* Fix build
2023-01-19 15:06:29 +02:00
Jaco
6f19084a4d
Move .isEmpty to $isEmpty ( #5424 )
...
* Move .isEmpty to $isEmpty
* Adjust usages
2023-01-19 11:07:29 +02:00
Jaco
2eb453c4ce
Cleanup class variable linebreaks ( #5422 )
2023-01-19 08:52:14 +02:00
Jaco
2c949e0fc5
Update headers for 2023 ( #5392 )
2023-01-01 10:25:51 +02:00
Jaco
b21cc0ae06
Pass through WeightV2 as-is (contracts) ( #5336 )
...
* Pass through WeightV2 as-is (contracts)
* Adjust convertWeight
* Adjust
2022-11-13 08:44:31 +02:00
Jun Jiang
cad2b0fefe
Update contract' gas to Weight type ( #5324 )
...
* Update contract' gas to Weight type
* Make Contracts Runtime Calls support WeightV2
* fix gasConsumed & gasConsumed type
* Regenerate contracts types
* Correct ContractCallOutcome
* `gasLimit` are optional
* Apply suggestion
* Add ContractCallRequestV1 and specify old rpc use that
* Add back getGas
* Port jg-ContractsApi-v2 (#5330 )
* Run yarn build:metadata
* There is no 'ContractCallRequestV1', only 'ContractCallRequest'
* api.tx.contracts.call.meta no version field, _isOldWeight still work?
2022-11-13 08:30:33 +02:00
Jaco
e0e86b1383
Small cleanups to contracts Weight detection ( #5335 )
2022-11-12 16:01:41 +02:00
Jaco
26d1d0d695
Add Weight{V1, V2} aliases ( #5257 )
2022-10-04 08:51:38 +03:00
Jaco
6983f8c883
Adjust contracts to pass either V1 or V2 weights ( #5254 )
...
* Adjust contracts to pass either V1 or V2 weights
* Adjust
* Formatting
* Adjust
* Fix build
2022-10-03 12:31:00 +03:00
Jaco
e3ba160935
Bump metadata ( #5251 )
...
* Bump metadata
* Weight V2 as structure
* checkTypes
* Partial alias override
* Remove unused type import
* Use old weight calls on contracts (as available)
* Adjust
* merge master
* Adjust
* CHANGELOG
* CHANGELOG
* formatting
* Casting
* Adjust expectations
2022-10-03 08:41:43 +03:00
Jaco
62bfcf84dd
Ensure call is exposed on rx ( #5116 )
...
* Ensure call is exposed on rx
* Adjust to only top-level detection
* .123npm
* Adjust check for contractsApi
2022-07-29 11:10:05 +03:00
Jaco
d26f289199
Remove deprecated api-contract methods ( #5110 )
...
* Remove deprecated api-contract methods
* Remove checkTypes deprecated
2022-07-26 08:53:05 +03:00
Jaco
3790f48e03
Specific check for storageDepositLimit support ( #5108 )
...
* Specific check for storageDepositLimit support
* Adjust asserts
2022-07-26 07:48:21 +03:00
Jaco
0c79e13aba
Convert api-contract usage of api.rpc.* to api.call.* ( #5107 )
...
* Convert api-contract usage of api.rpc.* to api.call.*
* Cast call (augmentation not available in build)
* Revert tx check assert
* Call mock
2022-07-25 16:22:26 +03:00
Jaco
cb283c410b
Use type asserts for json imports ( #5072 )
2022-07-15 11:13:12 +03:00
Jaco
fa5ec1b4a8
Adjust assert usage in api-contract ( #5057 )
2022-07-11 15:43:03 +03:00
Jaco
39ff956076
Expose constructoir meta on Blueprint/Code ( #4486 )
2022-01-21 15:56:27 +02:00
Jaco
f5ce395371
Expose contract.{query, tx}.method.meta ( #4485 )
2022-01-21 13:40:21 +02:00
Jaco
25c46f2a0d
Ensure non-option calls in api-contract are marked as @deprecated ( #4433 )
2022-01-10 10:21:06 +02:00
Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +02:00
Jaco
5d6c2dd9f2
DRY cleanups for contracts ( #4395 )
2021-12-26 10:03:28 +02:00
Keith Ingram
a868233c2f
Storage deposit limit changes ( #4370 )
2021-12-21 13:09:37 +02:00
Jaco
67ee8b08d9
Ensure *.d.ts files are generated in outputs ( #4362 )
...
* Ensure *.d.ts files are generated in outputs
* Adjust
* Additional dep
* Update
* Update refs
2021-12-20 10:00:10 +02:00
Jaco
f11feb4363
Move test files to correct packages ( #4345 )
...
* Move test files to correct packages
* Adjust
2021-12-17 09:45:46 +02:00
Andreea Eftene
cffab6900d
Add storage deposit support ( #4304 )
...
* add storage deposit support
* Revert "add storage deposit support"
This reverts commit 10eea6332b2756b23766df316a90ba4f244cb424.
* generate new metadata
* make it build
* add storage deposit in RPCs
* rename endowment to value
* support older nodes
* check the right things
* hide storage_deposit until better supported
* add the right defaults
* hardcode storageDepositLimit to null
2021-12-14 14:20:04 +02:00
Jaco
736fd536f9
Use tsconfig references ( #4328 )
...
* Use tsconfig references
* Move types-known (temp until lower-level split)
* Sources
* Adjust
* tesconfig.eslint.json
* Bumps
* AdjustAdjust
* Linting passing... a start...
* Adjust
* Merge derive
* Merge
* api-contract-support
* It builds?
* compare locations
2021-12-14 12:04:50 +02:00
Jaco
a30329b47d
Support for contracts metadata V2 ( #4289 )
...
* Support for contracts metadata V2
* Add & use latest
* Build interfaces
* conversion of V1 -> Latest
* spreads
* Use V2 in creation, aka s/name/label/
* Extract -> latest conversion
* Flatten
* Add V2 test contracts (tests are failing)
* V2, V1 & V1 catered for in Abi.spec.ts
* Explicit v0/v1 -> Latest conversions
* Adjust V2/V1/V0 check order
* Cleanup type assertions
* Save
* Remove eslint unsafe
* Flatten test exports
* Entries... last non-critical, OCD-driven change...
* tsc check fixes
* Conversion tests
* v1ToLatest renames
* Text[]
* Split conversion (ease of future change)
* V2 in V2 conversion
* Dedupe?
* Additional cleanups
* Adjust
* Flatten types
* Adjust
* filter versions adjustments
* additional, get it done.
2021-12-08 19:14:51 +02:00
Jaco
e5b05dc700
Slight adjustment to rpc-provider LRU ( #4198 )
2021-11-10 19:35:20 +02:00
Jaco
9989b69b46
Rename decorate method ( #4193 )
...
* Rename decorateMethod*
* Split exports
2021-11-10 10:48:20 +02:00
Jaco
5eb3534d8e
Bump dev (w/ eslint 8) ( #4070 )
...
* Bump dev (w/ eslint 8)
* Additional linting
* Additional
* More lint fixes
* Last batch
* Additional
* Cleanups
2021-10-17 14:49:26 +03:00
Jaco
d053b86e23
Use Si V1 in contracts (w/ PortableRegistry usage) ( #3988 )
...
* Use Si V1 in contracts (w/ PortableRegistry usage)
* Type id lookups
* Fix build & linting
* Remove extra .toNumber() (VSCode has gone crazy)
* v1 tests
* Cleanup parsing
* Explicit type cast for v1 types
* Unneeded toNumber
* Align events exposure with messages/constructors
* dedupe
* Re-add typedef extraction tests
* with typedefs
* Override for always primitives
* displayName improvements
* Versioned project
* New structure
* Fixes
* Cleanups
* Ensure API registry is the default used
* Adjust arg & return encoding/decoding
* Recursive contract
* DoNotConstruct to Si type
2021-10-11 12:50:09 +03:00
Nantian
db6c44615f
fix bigint type ( #3869 )
2021-08-12 10:02:15 +02:00
Jaco
a80df7d846
Swap CodecArg usage to unknown ( #3845 )
...
* Swap CodecArg usage to unknown
* Adjust Constructor defintion
2021-08-05 12:27:51 +02:00
Jaco
81be70e15b
Introduce bundle exports ( #3742 )
...
* Introduce bundle exports
* Move memo
* Cleanup imports
* Move DoNotConstruct
2021-07-07 11:35:30 +02:00
Jaco
ff3882f5f7
Bump common (w/ rxjs 7) ( #3736 )
...
* Bump common (w/ rxjs 7)
* Adjust
* pre bump
* Cleanup imports
* Add missing switchMap
* CHANGELOG
* Remove duplicate imports
* Bump common
* Direct rxjs import
2021-07-07 09:26:30 +02:00
Jaco
89c7d73951
Expose gasRequired (as available) ( #3732 )
2021-07-06 08:53:23 +02:00
Jaco
7cd2fa5f6a
Additional check for API connection & decoration in contracts ( #3654 )
...
* Additional check for API connection & decoration in contracts
* Remove snuck-in-file
2021-06-15 11:08:47 +02:00