Skip to content

Support update value for Solidity <0.5 #3

@ZhangZhuoSJTU

Description

@ZhangZhuoSJTU

Right now, for Solidity versions earlier than 0.5, we skip variable update hooks completely. The reason is that pre-0.5 Solidity does not support abi.encode.

However, since keccak256 exists pre-0.5, we should be able to support primitive types and simple dynamic types. That would allow partial support for update hooks in legacy contracts.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions