i'm running my private node with Geth, v1.9.13, deployed my Smart Contract via
truffle migrate and everything works fine. when i shutdown the machine and startup my node again, everything seems not working no more, for example making a simple call to to the Contract returns me the error "new BigNumber() not a base 16 number", sending tx has no effects, it doesn't emit events no more, my contract looks almost like "freezed"; so when i deploy again the contract everything start to work again, on the new contract's address obviously...
i'm starting my node in this way:
geth --mine --datadir /myDir --networkid 777 --rpcapi "db,eth,net,web3" --rpc --rpccorsdomain "*" --unlock "0xf60eb8f920980e7b7706efca7af153e02db975f4" --password ~/blockchain/password.txt --rpcport "8545" --rpcaddr "10.207.235.84" --allow-insecure-unlock --syncmode full
and after any restart the block number still going correctly on
i need my Contract to still working and mantains data also after several node restarts.
Any suggestion will be great!