Open darioush opened 3 months ago
In subnet-evm, we have:
SubnetEVMTimestamp *uint64 `json:"subnetEVMTimestamp,omitempty"`
DurangoTimestamp *uint64 `json:"durangoTimestamp,omitempty"`
EUpgradeTimestamp *uint64 `json:"eUpgradeTimestamp,omitempty"`
What do you recommend for consistency here?
Notably we have durangoTimestamp
vs durangoBlockTimestamp
(in coreth)
In subnet-evm, we have:
SubnetEVMTimestamp *uint64 `json:"subnetEVMTimestamp,omitempty"` DurangoTimestamp *uint64 `json:"durangoTimestamp,omitempty"` EUpgradeTimestamp *uint64 `json:"eUpgradeTimestamp,omitempty"`
What do you recommend for consistency here?
Notably we have
durangoTimestamp
vsdurangoBlockTimestamp
(in coreth)
I'd say durangoTimestamp
After looking at Subnet-EVM code, I think it's probably best to go with xxxTimestamp
as it's almost not possible to rename those JSON fields in Subnet-EVM.
going to move this to draft for now until I fix it up.
Why this should be merged
I think "UpgradeTime" is sufficiently expressive and shorter than "UpgradeBlockTimestamp"
How this works
Renames things, should not impact deployed chains since these values are specified by the avalanchego times not the genesis
How this was tested
CI