rhaki_cw_mock_http_querier

Crates.iorhaki_cw_mock_http_querier
lib.rsrhaki_cw_mock_http_querier
version0.1.0
sourcesrc
created_at2023-04-05 18:01:20.347361
updated_at2023-04-05 18:01:20.347361
descriptionCosmwasm mock querier for testing, that can perform http request to public lcd.
homepage
repositoryhttps://github.com/Rhaki/rhaki-cosmwasm-mock-http-querier
max_upload_size
id831280
size13,092
Rhaki (Rhaki)

documentation

README

Usage:

On your test file, instead to init you own deps, call create_http_mock function:

let deps: OwnedDeps<_, _, HttpWasmMockQuerier<DefaultWasmMockQuerier>> = create_http_mock(None, url_lcd, None);

Type annotation is needed. If your chain doesn't have any particular custom query, you can leave specify the default as above:

let deps: OwnedDeps<_, _, HttpWasmMockQuerier<DefaultWasmMockQuerier>>

Commit count: 6

cargo fmt