Skip to content

Commit

Permalink
Merge pull request #2344 from dusk-network/rusk-version
Browse files Browse the repository at this point in the history
rusk: bump to 0.8.0
  • Loading branch information
herr-seppia authored Sep 10, 2024
2 parents 832cf15 + 652806c commit 730a63a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion node/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ impl<N: Network, DB: database::DB, VM: vm::VMExecution> ChainSrv<N, DB, VM> {
// Lack of register record means the loaded database is
// either malformed or empty.
let state = vm.get_state_root()?;
let genesis_blk = genesis::generate_state(state);
let genesis_blk = genesis::generate_block(state);
db.update(|t| {
// Persist genesis block
t.store_block(
Expand Down
6 changes: 3 additions & 3 deletions node/src/chain/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
use node_data::ledger::{Block, Header};

/// Generates the genesis state for the chain per specified network type
pub(crate) fn generate_state(state_hash: [u8; 32]) -> Block {
pub(crate) fn generate_block(state_hash: [u8; 32]) -> Block {
Block::new(
Header {
// Mon Mar 25 2024 11:00:00 GMT+0000
timestamp: 1711364400,
// Tue Sep 10 2024 20:00:00 GMT+0000
timestamp: 1725998400,
state_hash,
..Default::default()
},
Expand Down
2 changes: 1 addition & 1 deletion rusk-wallet/src/rusk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use rkyv::Archive;
use crate::Error;

/// Supported Rusk version
const REQUIRED_RUSK_VERSION: &str = "0.7.0";
const REQUIRED_RUSK_VERSION: &str = ">=0.8.0";

#[derive(Debug)]
/// RuskRequesst according to the rusk event system
Expand Down
2 changes: 1 addition & 1 deletion rusk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rusk"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
autobins = false

Expand Down

0 comments on commit 730a63a

Please sign in to comment.