Skip to content

add the Vetos into Version and add the VersionList#51

Merged
wukongcheng merged 4 commits intoirisnet:feature/software-upgradefrom
MrXJC:jiacheng/software-upgrade
Jul 25, 2018
Merged

add the Vetos into Version and add the VersionList#51
wukongcheng merged 4 commits intoirisnet:feature/software-upgradefrom
MrXJC:jiacheng/software-upgrade

Conversation

@MrXJC
Copy link
Contributor

@MrXJC MrXJC commented Jul 25, 2018

No description provided.

defaultSwichPeriod int64 = 200
)

func (k Keeper) SetVersionList(version Version){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

名字 AddNewVersion 更合理一些

}
}

type ModulesLifeTime []ModuleLifeTime
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这两个名字不仔细看完全一样, ModuleLifeTimeList更清楚些

}
}

type ModulesLifeTime []ModuleLifeTime
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这两个名字不仔细看完全一样, ModuleLifeTimeList更清楚些

type Version struct {
Id int64 // should be equal with corresponding upgradeProposalID
Start int64
Votes []sdk.AccAddress
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version里面为什么需要投票列表,这个信息已经在SwitchMsg中了

Copy link
Contributor

@wukongcheng wukongcheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要做一些小的修改


type ModuleLifeTimeList []ModuleLifeTime

func NewModulesLifeTime() ModuleLifeTimeList {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NewModuleLifeTimeList

Copy link
Contributor

@wukongcheng wukongcheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NewModuleLifeTimeList

@wukongcheng wukongcheng merged commit 5031fe8 into irisnet:feature/software-upgrade Jul 25, 2018
wukongcheng added a commit that referenced this pull request Aug 27, 2018
add the Vetos into Version and add the VersionList
wangjiulian pushed a commit that referenced this pull request Nov 7, 2024
* update coinswap grpc query test

* update coinswap grpc query test

* fix coinswap test

* some modigy

* update grpc query test

* update go.mod

* add err check

Co-authored-by: 王迪 <wangdi@bianjie.ai>
Co-authored-by: Segue <huoda.china@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants