Problem with compile genesis blob and waypoint

hi there! :raised_hand_with_fingers_splayed:

I set up validator using docker but i’m having a problem with the command

aptos genesis generate-genesis --local-repository-dir ~/$WORKSPACE --output-dir ~/$WORKSPACE

i got error

thread ‘main’ panicked at ‘called Result::unwrap() on an Err value: PartialVMError { major_status: MALFORMED, sub_status: None, message: Some(“Invalid visibility byte”), exec_state: None, indices: , offsets: }’, aptos-move/vm-genesis/src/lib.rs:105:64
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Im using aptos cli version 0.2.5, OS: Ubuntu 22.04.1 LTS

Besides, where we can get all config for layout.yaml?
I added config below

min_voting_threshold: 10
recurring_lockup_duration_secs: 86400
required_proposer_stake: 0
rewards_apy_percentage: 10
voting_duration_secs: 43200

But i unsure the value is correct or not.

I appreciate everyone’s help. Thank you!
Thanks for attention!

Hey there, there is no need to run a validator node yet. Testnet is ended :slight_smile:
If you are just learning, please try it on Ubuntu 20.04

1 Like

Thanks @jovar

1 Like

Have you solve this issue, i facing the exact same issue as you and i cant find any solution

1 Like

Hi @degenealogy, cannot resolve, but now it works with aptos cli 0.3.x version and Ubuntu 20.04

1 Like

Indeed :thinking::thinking::shushing_face::shushing_face:

1 Like