Skip to content
Unverified Commit 3b1c9b1b authored by Zeke Mostov's avatar Zeke Mostov Committed by GitHub
Browse files

Future proof `sanitizeNumbers` (#154)

* Setup Jest and sanity check sanitizeNumbers

Test extended types

Test AbstractInt as value in object

sanitize a staking response

Fix some small details

* Add Block response type

* Add explicit return types for all public ApiHandler functions

* Fix missing extrinsic fields; Standardiz accounts summary naming

* Check for struct, option, and Result

* Complete an outline

* Add codec map

* save progress

* Initial skeleton of sanitizeData and sanitizeCodec

* Save small changes

* Clean  up

* Setup to go back and forth with old sanitizeNumbers

* Add comment

* upgrade deps

* FIX sanitizeNumbers to handle Compact

* Small clean up

* Correct package.json

* Fix -1 u32 error

* Add tests to github workflow via pr.yml

Correct workflow to install wasm-pack

Try again

* Update sanitze numbers to handle Enums

* Add tests of types

* Lots of tests and necessary fixes for sanitize

Use async create instead of initialize

Add versionReset; Revert static creat

Remove exclamation maarks

Put comment back in

Revert last commit

Delete stray empty line

Revert ensureMeta changes

Clean up testing

Save progress with U64s

Fix issues with BTreeSet

More tests

Update to handle in option so linkage test passes

save progress on set

More tests

Save progress

last tests

* Remove old sanitizeNumber

* Small updates

* Add some primitives

* Delete unused code

* Update testing to reflect new Result api

Min i32

Add alternate tests for Result

More tests

Delete covereage

new eof .gitignore

Add ToDos

* Prepare for merge

* save

* Update tests to show regressions


Create polkadot-js types folder and move typeguards

updates

Change test organization grouping

* Update AbstractController

* Small update

* Serialize zeros

* Update comment
parent d81bf959
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment