Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New extended genesis plus necessary adjustments for supporting camino #26

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

knikos
Copy link
Member

@knikos knikos commented Feb 7, 2023

Why this should be merged

This PR contains changes which are necessary for starting a camino network. Till now the network runner was "compatible" only with avax networks. Supporting the camino network is necessary among others for e2e tests performed by the caminojs.

How this works

To enable the above mentioned functioncality, the following changes are necessary:

  • added logic for supporting the boot-up of a camino network.
  • extended the original genesis with camino-related fields (and more specifically kopernikus-compatible)
  • introduced a new env var CAMINO_NETWORK. If set, a camino network is started

How this was tested

By starting the network, querying and verifying the network's configuration and running caminojs e2e tests against it.

@knikos knikos requested review from peak3d and c4t-ag February 7, 2023 09:32
@knikos knikos force-pushed the camino_genesis_support branch from f7d9c89 to 5440d27 Compare February 7, 2023 10:36
Copy link

@c4t-ag c4t-ag left a comment

Choose a reason for hiding this comment

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

Nice, only one small thing left (StartTime)

local/network.go Outdated
camino["verifyNodeSignature"] = true
camino["lockModeBondDeposit"] = true
} else {
startTime := time.Now().Unix()
Copy link

Choose a reason for hiding this comment

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

We want this, too for camino.
It's a cool thing, and we recently changed that offerID's do not chnage anymore if StartTime changes

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@knikos knikos requested a review from c4t-ag February 8, 2023 07:59
@knikos knikos force-pushed the camino_genesis_support branch from 39d6755 to 1d12c53 Compare February 8, 2023 09:28
@knikos knikos force-pushed the camino_genesis_support branch from 1d12c53 to 5d6e9bb Compare February 8, 2023 10:16
@knikos knikos merged commit 38d9b1c into chain4travel Feb 8, 2023
@knikos knikos deleted the camino_genesis_support branch February 8, 2023 13:54
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