Commit Graph

20 Commits

Author SHA1 Message Date
Jaco
9e5fa6a353
Add blockInterval hook (#7165) 2022-03-15 11:30:41 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco Greeff
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
947d3305e3
Use maxBlock value for weight limits (#4287) 2020-12-29 12:17:08 +01:00
Jaco Greeff
338a77fbdf
Detect system.blockWeights vs system.maximumBlockWeight (#4176)
* Detect system.blockWeights vs system.maximumBlockWeight

* small formatting update

* division
2020-12-08 19:41:58 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
0e33f6b88e
Default to max call weight (#3987) 2020-11-06 16:00:39 +01:00
Jaco Greeff
97fb76c875
Cleanup contracts weight handling (#3898) 2020-10-19 15:00:07 +02:00
Jaco Greeff
770501b6ff
Add estimation toggle (#3897)
* Add estimation toggle

* Adjust percentage display
2020-10-19 14:15:46 +02:00
Jaco Greeff
bbab6ca88f
0.63 (#3895)
* 0.63

* Fix weight calc
2020-10-19 10:06:14 +02:00
Jaco Greeff
741cd23718
Use new API gas estimation (as applicable) (#3894)
* Use new API gas estimation (as applicable)

* max

* Fix weight calculation

* Cleanups

* Bump API
2020-10-18 17:58:49 +02:00
Jaco Greeff
a7d965ef89
Rework contracts deploy (#3853)
* Rework contracts deploy

* Bump API

* Remove .wasm from filename

* Remove (instance)
2020-10-11 19:33:55 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00