-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wallet): use correct type for contract_id in the contract constit…
…ution file format (#4179) Description --- Changed the type of the `contract_id` field in the file format from a `PublicKey` to a `String`, and then parsed it as hex into a `FixedHash` (which is the proper type). Motivation and Context --- When using a real `contract_id` value on contract constitution publishing, we got a file format parsing error How Has This Been Tested? --- Changed the `contract_id` field in the fixture file to a value that trigger the issue. The test now pass.
- Loading branch information
Showing
3 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
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