=== RUN Test_WalletBalance_Local
agent_test.go:203:
Error Trace: /Users/luokeep/Code/github.com/xxx/agent_test.go:203
Error: Received unexpected error:
lookup error (path: "subnet/\xcf\xf2\x80\xe3-\x7f\\\xcd\"F\x88/\x94\xaf\xb2\x0fT\xcaa\xa2\x17e\xe7\x12\xd4='\x89\x02/node/Y\xfb\xf3\xd5\x0e\xc8\xf3\xcb\xed.\xdc)\x03/\x17Q\xb2\xdfM'q=\xa3\xbf\x85\"\x8c:\x02/public_key") at "\xcf\xf2\x80\xe3-\x7f\\\xcd\"F\x88/\x94\xaf\xb2\x0fT\xcaa\xa2\x17e\xe7\x12\xd4='\x89\x02": not found, not present in the tree
Test: Test_WalletBalance_Local
balance <nil>
--- FAIL: Test_WalletBalance_Local (0.04s)
Are you running an ‘old’ replica version? What version does dfx --version give? Does updating to the latest version help?
Does the wallet canister even exist? It’s possible that you accidentally restarted the replica with a clean state and the canister doesn’t exist anymore.
Side note: please use FetchRootKey: false for mainnet. Otherwise you give up a lot of security properties