NibiruChain / nibiru

Nibiru Chain: The breakthrough smart contract platform ushering in the next era of money. Nibiru powers an ecosystem of dApps including perps, RWAs, and more.
https://nibiru.fi
Apache License 2.0
183 stars 201 forks source link

test(eth): Test GetProof (rpc/types/query_client.go) in a similar manner to cosmos-sdk/client/rpc/rpc_test.go using a full network #1857

Open Unique-Divine opened 5 months ago

Unique-Divine commented 5 months ago

test(eth): Test GetProof (rpc/types/query_client.go) in a similar manner to cosmos-sdk/client/rpc/rpc_test.go using a network after EVM is wired into the app keepers.

Testing this without mocks requires a client.Context with clientCtx.Heightand a valid call for clientCtx.QueryABCI that will return a merkle proof. Thisis trivial with a network but very challening to test otherwise.