crypto-org-chain / crypto-org-chain/cronos

Problem: no easy way to upgrade contract bytecode

Open
#1,096 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
336
Forks
299
Avg merge
2d 17h
Merged PRs (30d)
4

Description

We can take advantage of the builtin gov process to do contract upgrade, implement a contract upgrade proposal type, proposer submit the contract address and bytecode, after proposal passed, the contract is upgraded.

## Advantages

- contract address don't change
- don't need any dev effort in contract level

## Disadvantage

- need the whole chain gov process to upgrade an individual contract, so probably only works for important contracts.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the built-in governance proposal handling and the existing contract upgrade mechanism; done means a proposal can carry a contract address and bytecode and, after approval, upgrade the contract without changing its address.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.