Commit Graph

83 Commits

Author SHA1 Message Date
Jaco
7f0a05ca67
Bump dev (#7212)
* Bump dev

* linting

* s/function//
2022-03-23 08:03:11 +02:00
Andreea Eftene
d42da8da93
fix contract trapped (#6973) 2022-02-11 14:43:06 +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
Andreea Eftene
c2be422be0
Add storage deposit support in apps (#6657)
* add basic storage deposit input

* prefill input with free balance

* make value zeroable

* changes to deploy modal

* support older nodes

* storage deposit support in call

* remove input and pass null

* remove unused

* properly check if value input shoudl be zeroable

* remove unused

* hide input when constructor is not payable

* update api

* little cleanup

* remove unnecessary check
2021-12-22 11:03:22 +02:00
Jaco
0f58b96f76
Bump dev with package-specific tsconfig.json (#6691)
* Bump dev with package-specific tsconfig.json

* Bump tsc

* Bumps

* Adjust

* Bumps

* Bump dev
2021-12-16 12:08:06 +02:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
Jaco
0466cd3ee5
API Bump w/ contracts v1 (#6264)
* API Bump w/ contracts v1

* Bump API

* Re-run
2021-10-12 07:03:37 +03:00
Jaco
7320d08c10
Remove rent projection (#6185) 2021-09-24 06:40:51 +02:00
Jaco
73e3a32aba
Support for v14 metadata (#5927)
* Support for v14 metadata

* sessionIds as map or array

* Cleanups

* Some storage page adjustments

* Arg mapping, no filterOrigin

* Use base64Encode in metadata

* Cleanups

* Storage cleanups

* Additional

* Use API types

* typo

* Storage historic compat

* Const input type

* Bumps

* Bumps

* Bumps

* Force salt to string
2021-09-18 08:18:51 +02:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one (#5914)
* Remove SUI modal

* Update modal positioning

* Clean up imports

* Restore removed size

* Add tests for Modal component

* Add border radius to actions

* Disable global scroll

* Introduce ESC_KEYCODE const

* Arrange props

* Change components definitions

* Change styled components to functional

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
Jaco
39b5a04548
Use gasRequired for contract estimation (#5772)
* Use gasRequired for contract estimation

* Bump API

* yarn.lock

* Revert unneeded bumps

* Fix lint

* Bump API
2021-07-06 11:29:15 +02: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
0ece312038
Bump API (contracts deprecated methods) (#5212)
* Bump API (contracts deprecated methods)

* Bump API (w/ parachain types)
2021-05-05 19:01:31 +02:00
Jaco
8825a693f9
Remove deprecated contracts calls (#5183)
* Remove deprectaed contracts calls

* Drop support for contracts V2
2021-05-01 10:27:10 +02:00
Jaco Greeff
e037ab2400
Bump API (derive extend) (#4867) 2021-03-18 18:46:07 +01:00
Jaco Greeff
15c08c6364
Display next action countdown (#4849)
* Display next action countdown

* Show parathreads
2021-03-14 19:45:02 +01:00
Jaco Greeff
d34bd33568
useBestNumber hook (#4846)
* useBestNumber hook

* Cleanups
2021-03-14 15:12:53 +01:00
Jaco Greeff
ba2dc7e44b
Margin between contract block links (#4709) 2021-02-22 11:24:17 +01:00
Jaco Greeff
1ec6dfd302
Support new contracts putCode (#4622)
* Support new contracts putCode

* New works

* Swap to default constructor as available

* Split into steps
2021-02-06 15:51:09 +01: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
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jaco Greeff
599b62e6c6
Bump to latest API (#4321) 2021-01-05 13:12:39 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
MiZiet
18be5c3451
Restore contracts banners size. Closes #4275 (#4276)
* Restore contracts banners size

* Remove hasOwnMaxWidth class from Banner

* Rename Contracts component into ContractsTable

* Extract Contracts component from ContractsApp

* Move Banner, Deploy, Summary components to Contracts directory

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-29 12:54:02 +01:00
Jaco Greeff
ec56e100a6
0.73 (#4274)
* 0.73

* Typing
2020-12-28 14:37:31 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop (#4251)
* Pass explicit function through to TxButton tx prop

* Updates

* Claim adjust

* Allow null on tx

* Adjust

* Apply suggestions from code review

* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
b22f61347e
Remove unused TxModal components (#4250)
* Remove unused TxModal components

* Cleanups
2020-12-20 17:50:06 +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
aab2c26342
Contract deployment salt (#4030) 2020-11-16 10:27:14 +01:00
Jaco Greeff
e10d56d0ec
Bump API (#4017)
* Bump API

* Rebuild i18n

* Fix InputAddress

* Pass through registry where applicable
2020-11-12 15:43:19 +01:00
Jaco Greeff
0e33f6b88e
Default to max call weight (#3987) 2020-11-06 16:00:39 +01:00
Jaco Greeff
6452e62b69
Bump API (Contracts RPC) (#3953) 2020-11-01 09:38:41 +01:00
Jaco Greeff
b484947b79
Display last blocks for execution (per contract) (#3917)
* Display last blocks for execution (per contract)

* Bump API with new block subs

* linting
2020-10-22 20:21:38 +02:00
Jaco Greeff
3dd77c8393
Contract event decoding (#3914)
* Contract event decoding

* Update packages/apps/src/Content/Status.tsx

* Update packages/react-components/src/Status/Queue.tsx

* Bump API
2020-10-22 16:34:11 +02:00
Jaco Greeff
50c6a16651
Be explicit in projection label (#3912) 2020-10-22 12:47:14 +02: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
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
b82bdd14f8
Project eviction based on rent (#3885) 2020-10-16 14:20:13 +02:00
Jaco Greeff
ee7a4de77d
Allow ABI removal on upload (#3869) 2020-10-14 09:15:13 +02:00
Jaco Greeff
1fab614412
Show actual ABI error message (#3868) 2020-10-14 08:06:49 +02:00
Jaco Greeff
b1469b2282
Adjust contracts read results (available display) (#3861) 2020-10-13 17:05:14 +02:00
Jaco Greeff
5780f92dcf
Adjust contracts with API bump (#3860)
* Adjust contracts with API bump

* Change header for deploy modal

* Override adjustments
2020-10-13 15:28:06 +02:00
Jaco Greeff
3152c8e026
Bump API (contracts cleanups) (#3855)
* Bump API (contracts cleanups)

* Remove unneeded JSON.parse
2020-10-12 15:57:35 +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
d58852558c
Display on-chain status for contract code & instances (#3851) 2020-10-11 11:50:27 +02:00