Skip to content

[FEATURE] Use .utf8 instead of hex-encoding/decoding #17

@turbolent

Description

@turbolent

Issue to be solved

The templates to add a contract and update a contract assume the code parameter is hex-encoded.

Hex-encoding and hex-decoding is inefficient and unnecessary.

Suggest A Solution

Replace the use of .decodeHex() with .utf8.

This is a breaking change: Users of the templates need to be updated to pass the code as-is, without hex-encoding it.

What are you currently working on that this is blocking?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions