-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All system contract compatibility and better tests (#52)
* Rewrote tests to remove recursion and throw * removed try/catch * Fixed issue with Symbol typing * Switching imports to wharfkit/antelope * catching `Bool` type * Dynamically import all core types related to ABIs * Adding missing types * Fixing TableNames key stringify * Updating tests to support many contracts * Changing imports over to wharfkit/antelope instead of session * Removed notes * Only override `action` and `table` call if data for those exist * Scopes should accept generic numbers and cast to strings Fixes #53 * Fixed scope logic It was casting undefined to a string and never using `this.account` * Allow passing `scope` as 2nd param to `contract.table` This matches the syntax used in the CDT, as discussed here: https://github.com/orgs/wharfkit/discussions/5#discussioncomment-6515701 * Version 0.4.1 * chore: renamed EOSIO_CORE variables * refactor: added helper folder * enhancement: making sure that Name is always in contract imports * fix: removing $ from field name when applicable * chore: added full eosio abi * cleanup: removed contracts folder * fix: parsing data types properly * fix: using proper eosio abi * fix: handling variant and alias types * fix: handling booleans properly * fix: handling variants in external and internal types * cleanup: removed redundant Types namespace from Struct field type * style: linted --------- Co-authored-by: dafuga <[email protected]>
- Loading branch information
Showing
28 changed files
with
6,050 additions
and
1,044 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.