Skip to content

Post-Providence smart contract features (tracker for v4.0) #5501

@QYuQianchen

Description

@QYuQianchen

Description

This is a tracker issue for all the changes in smart contract to be included after Aug audit.

After deciding on keeping the on-chain network the same for v3.0 release, post-providence smart contract issues are separated into v3.0 and v4.0

General
  • Consider using Ownership2Step (TicketPriceOracle.sol, StakingProxyForNetworkRegistry.sol)
  • Use HoprLedger in all the contracts that are indexed by the hoprd indexer
Channels.sol
NetworkRegistryProxy.sol
  • Handle "div0" when self-registration is not enabled.
NetworkRegistry.sol
  • Handle the case when self-registration is not enabled.
Announcements.sol
Ledger.sol

Crypto.sol

NodeSafeFactory.sol
NodeStakeFactory.sol
Others
  • Review and evaluate GnosisGuild's Roles v2 implementation

Definition of DONE

  • Fix reported issues
  • Improve gas usage

Sub-issues

Metadata

Metadata

Assignees

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions