edgeware-network / edgeware-node

Substrate node implementing Edgeware
https://edgewa.re
GNU General Public License v3.0
17 stars 17 forks source link

Getting 'duplicate balances in genesis.' with erup-5 branch #21

Closed ayushmishra2005 closed 2 years ago

ayushmishra2005 commented 2 years ago

I am trying to test on local with erup-5 branch.

When I hit ./target/release/edgeware --dev, I get below error


Thread 'main' panicked at 'duplicate balances in genesis.', /Users/ayushkumarmishra/.cargo/git/checkouts/substrate-d0ba97308bb9c022/28f4cad/frame/balances/src/lib.rs:594

Please let me know if I am missing anything.

flipchan commented 2 years ago

yes! i have noticed this, let me push the latest

flipchan commented 2 years ago

fixed this, will push this

ayushmishra2005 commented 2 years ago

@flipchan Have you pushed the fix

flipchan commented 2 years ago

yes sir! @ayushmishra2005

ayushmishra2005 commented 2 years ago

@flipchan Looks like erup-latest is still not stable.

for ex: https://github.com/edgeware-network/edgeware-node/blob/erup-5-latest/node/runtime/src/lib.rs#L1518 :)

flipchan commented 2 years ago

@ayushmishra2005 erup-5-latest is the correct branch

flipchan commented 2 years ago

How are you running it? It's working for me with the --dev

ayushmishra2005 commented 2 years ago

@flipchan I am using the erup-5-latest branch. I have pulled the code It's not compiling. I am hitting cargo build --release.

 error: expected `;`, found `weight`
      --> /Users/ayushkumarmishra/workspace/mint/edgeware-node/node/runtime/src/lib.rs:1518:43
       |
  1518 |             weight += frame_system::storage::migrat
       |                                                    ^ help: add `;` here
  1519 | 
  1520 |             weight += migrations::Executive::execute_on_runtime_upgrade();
       |             ------ unexpected token

  error[E0425]: cannot find value `migrat` in `frame_system::storage`
      --> /Users/ayushkumarmishra/workspace/mint/edgeware-node/node/runtime/src/lib.rs:1518:37
       |
  1518 |             weight += frame_system::storage::migrat
       |                                              ^^^^^^ not found in `frame_system::storage`

  error[E0603]: module `storage` is private
      --> /Users/ayushkumarmishra/workspace/mint/edgeware-node/node/runtime/src/lib.rs:1518:28
       |
  1518 |             weight += frame_system::storage::migrat
       |                                     ^^^^^^^ private module
       |

Please let me know if I am missing anything

flipchan commented 2 years ago

@ayushmishra2005 sorry i pushed an unsave file by mistake, try again now

flipchan commented 2 years ago

working!