diff --git a/.github/workflows/validate-gentx.yml b/.github/workflows/validate-gentx.yml index e1ca0ef..b1da192 100644 --- a/.github/workflows/validate-gentx.yml +++ b/.github/workflows/validate-gentx.yml @@ -13,7 +13,7 @@ on: default: 'mainnet' env: - WARDEND_VERSION: 'v0.7.0-rc5' + WARDEND_VERSION: 'v0.7.0' GO_VERSION: '1.25' DAGGER_NO_NAG: '1' diff --git a/Makefile b/Makefile index a9c0040..dc2500c 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ validate-custom: ## Validate with custom parameters (use NETWORK, WARDEND_VERSIO @cd ci && dagger call validate-all-gentx-together \ --source=.. \ --network=$(or $(NETWORK),mainnet) \ - --wardend-version=$(or $(WARDEND_VERSION),v0.7.0-rc3) \ + --wardend-version=$(or $(WARDEND_VERSION),v0.7.0) \ --go-version=$(or $(GO_VERSION),1.24) # Development targets diff --git a/ci/main.go b/ci/main.go index 5d1ddd4..1000faa 100644 --- a/ci/main.go +++ b/ci/main.go @@ -21,7 +21,7 @@ func (m *Ci) ValidateGentxCli( network string, // Wardend version to use for validation // +optional - // +default="v0.7.0-rc3" + // +default="v0.7.0" wardendVersion string, // Go version for building check-genesis tool // +optional @@ -55,7 +55,7 @@ func (m *Ci) ValidateGentx( network string, // Wardend version to use for validation // +optional - // +default="v0.7.0-rc3" + // +default="v0.7.0" wardendVersion string, // Go version for building check-genesis tool // +optional @@ -158,7 +158,11 @@ type FileValidationResult struct { } // getGentxFiles returns the list of gentx files to validate -func (m *Ci) getGentxFiles(ctx context.Context, source *dagger.Directory, network string) ([]string, error) { +func (m *Ci) getGentxFiles( + ctx context.Context, + source *dagger.Directory, + network string, +) ([]string, error) { if network != "mainnet" { return nil, fmt.Errorf("only mainnet network is supported") } @@ -260,7 +264,7 @@ func (m *Ci) RunLocalValidation( network string, // Wardend version to use for validation // +optional - // +default="v0.7.0-rc3" + // +default="v0.7.0" wardendVersion string, // Go version for building check-genesis tool // +optional @@ -317,7 +321,7 @@ func (m *Ci) CopyAllGentx( network string, // Wardend version to use for validation // +optional - // +default="v0.7.0-rc3" + // +default="v0.7.0" wardendVersion string, ) (*dagger.Container, error) { // Get the list of gentx files @@ -372,7 +376,7 @@ func (m *Ci) ValidateAllGentxTogether( network string, // Wardend version to use for validation // +optional - // +default="v0.7.0-rc3" + // +default="v0.7.0" wardendVersion string, // Go version for building check-genesis tool // +optional @@ -421,7 +425,12 @@ func (m *Ci) ValidateAllGentxTogether( debugResult := validationResult.WithExec([]string{"cat", "logs.txt"}) debugLogs, _ := debugResult.Stdout(ctx) - return fmt.Sprintf("❌ Validation FAILED:\n%s\n\nStderr:\n%s\n\nDebug logs:\n%s", stdout, stderr, debugLogs), stdoutErr + return fmt.Sprintf( + "❌ Validation FAILED:\n%s\n\nStderr:\n%s\n\nDebug logs:\n%s", + stdout, + stderr, + debugLogs, + ), stdoutErr } return fmt.Sprintf("✅ Validation PASSED:\n%s", stdout), nil @@ -466,7 +475,11 @@ func (m *Ci) TestCheckGenesisTool( usageOutput, _ := usageContainer.Stdout(ctx) usageError, _ := usageContainer.Stderr(ctx) - result := fmt.Sprintf("✅ check-genesis tool build and test successful:\n\nFile details:\n%s\nUsage output:\n%s", lsOutput, usageOutput) + result := fmt.Sprintf( + "✅ check-genesis tool build and test successful:\n\nFile details:\n%s\nUsage output:\n%s", + lsOutput, + usageOutput, + ) if usageError != "" { result += fmt.Sprintf("\nUsage stderr:\n%s", usageError) } diff --git a/mainnet/gentx/gentx-f0e60309bd1f084dd3803706bce3fb7d7349a5e7.json b/mainnet/gentx/gentx-f0e60309bd1f084dd3803706bce3fb7d7349a5e7.json new file mode 100644 index 0000000..9691759 --- /dev/null +++ b/mainnet/gentx/gentx-f0e60309bd1f084dd3803706bce3fb7d7349a5e7.json @@ -0,0 +1,69 @@ +{ + "body": { + "messages": [ + { + "@type": "/cosmos.staking.v1beta1.MsgCreateValidator", + "description": { + "moniker": "WardenLabs", + "identity": "", + "website": "", + "security_contact": "", + "details": "" + }, + "commission": { + "rate": "0.100000000000000000", + "max_rate": "0.200000000000000000", + "max_change_rate": "0.100000000000000000" + }, + "min_self_delegation": "1", + "delegator_address": "", + "validator_address": "wardenvaloper1qvyu97ps4sgqnsapvdv9akkarythawx7927ukx", + "pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "ZkDMWNUY91ZZPuOzOKpKdCLjqoQgD0PE6CdFPLmL4gs=" + }, + "value": { + "denom": "award", + "amount": "8000000000000000000" + } + } + ], + "memo": "f0e60309bd1f084dd3803706bce3fb7d7349a5e7@192.168.88.75:26656", + "timeout_height": "0", + "unordered": false, + "timeout_timestamp": null, + "extension_options": [], + "non_critical_extension_options": [] + }, + "auth_info": { + "signer_infos": [ + { + "public_key": { + "@type": "/cosmos.evm.crypto.v1.ethsecp256k1.PubKey", + "key": "AjOg9zGpaas2ow43raDKO8ZZ9WF8ZiSFWc8gTkZ9IgWT" + }, + "mode_info": { + "single": { + "mode": "SIGN_MODE_DIRECT" + } + }, + "sequence": "0" + } + ], + "fee": { + "amount": [ + { + "denom": "award", + "amount": "1000000000000000000" + } + ], + "gas_limit": "200000", + "payer": "", + "granter": "" + }, + "tip": null + }, + "signatures": [ + "rBJPYk/XDUwh45UZrkfegvqmTELFLd0zP1nCqAtJK7IavXyWgznKcaP1lfAI2FxMu5gGOAXSGCaDyryezn47rwA=" + ] +}