FakeReplicaRequest
Defined in: core/src/testing/fake-replica.ts:78
A request an agent sent to the fake replica.
Properties
Section titled “Properties”endpoint
Section titled “endpoint”
readonlyendpoint:"status"|"query"|"call"|"read_state"
Defined in: core/src/testing/fake-replica.ts:79
canisterId?
Section titled “canisterId?”
readonlyoptionalcanisterId?:string
Defined in: core/src/testing/fake-replica.ts:81
The canister the request was addressed to, as text.
methodName?
Section titled “methodName?”
readonlyoptionalmethodName?:string
Defined in: core/src/testing/fake-replica.ts:83
The canister method a query or call named.
caller?
Section titled “caller?”
readonlyoptionalcaller?:string
Defined in: core/src/testing/fake-replica.ts:85
The principal the request came from, as text, once it was checked.
refused?
Section titled “refused?”
readonlyoptionalrefused?:string
Defined in: core/src/testing/fake-replica.ts:91
Why the fake refused the request before any canister saw it, as a replica refuses it: the signature, a delegation, or its targets did not check out. The agent received HTTP 400.