It is possible to perform HTTP requests from within Linera application contracts. However, when running integration tests those requests will be executed on a real network, which might not be desired.
Proposal
Provide a way to configure the TestValidator to intercept the HTTP requests, and maybe forward them to a custom handler.
Motivation
It is possible to perform HTTP requests from within Linera application contracts. However, when running integration tests those requests will be executed on a real network, which might not be desired.
Proposal
Provide a way to configure the
TestValidator
to intercept the HTTP requests, and maybe forward them to a custom handler.