diff --git a/.github/workflows/draft_release.yml b/.github/workflows/pre_release.yml similarity index 91% rename from .github/workflows/draft_release.yml rename to .github/workflows/pre_release.yml index 97cd27345..409332302 100644 --- a/.github/workflows/draft_release.yml +++ b/.github/workflows/pre_release.yml @@ -4,18 +4,18 @@ on: tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 -name: Create Draft Release +name: Create Pre-release jobs: release: - name: Create Draft Release + name: Create Pre-release runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@master - - name: Create Draft Release + - name: Create Pre-release id: create_release uses: actions/create-release@v1 env: @@ -25,8 +25,8 @@ jobs: release_name: Release ${{ github.ref }} body: | ${{ github.ref }} - draft: true - prerelease: false + draft: false + prerelease: true publish: name: Publish for ${{ matrix.os }} diff --git a/cli/src/chain_spec.rs b/cli/src/chain_spec.rs index 044d13ad5..1ce96e21e 100644 --- a/cli/src/chain_spec.rs +++ b/cli/src/chain_spec.rs @@ -407,9 +407,9 @@ pub fn staging_testnet_config() -> Result { pub fn testnet_config() -> Result { let wasm_binary = include_bytes!("./wasm/chainx_runtime_testnet.compact.wasm"); // subkey inspect-key --uri "$SECRET" - // 5ERUBzfWtZzB59HM2qekCKzPm9sFo433z3V4rGgJXd7ugWNv + // 5DevKrCXVnGtJ5epm19VCQwdbjXVGLvDVVe86b67sRweMh8P let root_key: AccountId = - hex!["684e9d27ae6b5ab3a673616de27bd3e455062c83090de607ab49a2f7396b5a19"].into(); + hex!["46548ce2fca0244d9ca8bc2b82d599458d340d0da3c13078689cf4f17bbb3017"].into(); // bash: // for i in 1 2 3; do for j in validator blockauthor; do subkey inspect-key --uri "$SECRET//$i//$j"; done; done // for i in 1 2 3; do for j in babe; do subkey inspect-key --scheme sr25519 --uri "$SECRET//$i//$j"; done; done diff --git a/cli/src/res/btc_genesis_params_testnet.json b/cli/src/res/btc_genesis_params_testnet.json index b9ff66e9d..e558978e1 100644 --- a/cli/src/res/btc_genesis_params_testnet.json +++ b/cli/src/res/btc_genesis_params_testnet.json @@ -1,12 +1,12 @@ { "network": "Testnet", "confirmation_number": 4, - "height": 1865225, - "hash": "000000000000000ebe4d600e523ac18285d5ffd4a15ce7f7e94427bcb9d5daec", - "version": 671080448, - "previous_header_hash": "00000000000000266addf9be31441caa8ee034dcc98e5e12afce43857b113846", - "merkle_root_hash": "e3f1880660223b676ee6645e1d249818d2ad34404d7c83b3142dd2bff609893b", - "time": 1603865822, + "height": 1866660, + "hash": "000000000000005e44ec045544a10ddcaa58008f76240b2be2c806ed034863c6", + "version": 536870912, + "previous_header_hash": "0000000000000093c2749dc1967130db153e0e77934754d48c267ea2209a88a1", + "merkle_root_hash": "a99a16e3256f8d75a5f8b3475130efe61559ba1e1af168e8d5f3167c123383af", + "time": 1604540429, "bits": 436254651, - "nonce": 3239452607 + "nonce": 1968157362 } \ No newline at end of file diff --git a/cli/src/wasm/chainx_runtime_testnet.compact.wasm b/cli/src/wasm/chainx_runtime_testnet.compact.wasm index 888276faf..ba664b2bc 100644 Binary files a/cli/src/wasm/chainx_runtime_testnet.compact.wasm and b/cli/src/wasm/chainx_runtime_testnet.compact.wasm differ