Skip to content

Split SC address per chain - #3027

Merged
vkuznecovas merged 2 commits into
masterfrom
split-sc-address-per-chain
Jan 21, 2021
Merged

Split SC address per chain#3027
vkuznecovas merged 2 commits into
masterfrom
split-sc-address-per-chain

Conversation

@vkuznecovas

Copy link
Copy Markdown
Contributor

Closes #2988

@vkuznecovas
vkuznecovas force-pushed the split-sc-address-per-chain branch 2 times, most recently from 9d97ae0 to 02f73e1 Compare January 20, 2021 10:45
Comment thread cmd/commands/cli/command_identities.go
Comment thread config/flags_chains.go

func getChainIDFlag(chainIndex int64) cli.Int64Flag {
defaultAddress := metadata.DefaultNetwork.Chain1.ChainID
if chainIndex == 2 {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If DefaultNetwork has map of chains instead of each chain as a seperate var, we would not need this if

Though it would be worse to look up outside of here.

Comment thread config/flags_node.go Outdated
Comment thread session/pingpong/consumer_balance_tracker.go Outdated
@vkuznecovas
vkuznecovas force-pushed the split-sc-address-per-chain branch 4 times, most recently from 71e0efd to 3683b80 Compare January 20, 2021 14:55
@vkuznecovas
vkuznecovas requested a review from tomasmik January 20, 2021 15:19
@vkuznecovas
vkuznecovas force-pushed the split-sc-address-per-chain branch from b204c84 to 682e056 Compare January 21, 2021 09:28
@vkuznecovas
vkuznecovas force-pushed the split-sc-address-per-chain branch from 682e056 to 63fe4fd Compare January 21, 2021 09:31
@vkuznecovas
vkuznecovas merged commit a818674 into master Jan 21, 2021
@vkuznecovas
vkuznecovas deleted the split-sc-address-per-chain branch January 21, 2021 09:50
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.

Smart contract address separation per chain

3 participants