You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Possible transaction statuses returned from [`Client::poll_next_event()`].pubenumTxStatus<ID>{/// Transaction is part of the future queue.Validated,/// The transaction has been broadcast to other nodes.Broadcasted,/// Transaction is no longer in a best block.NoLongerInBestBlock,/// Transaction has been included in block with given hash.InBestBlock(ID),/// Transaction has been finalized by a finality-gadget, e.g GRANDPAInFinalizedBlock(ID),/// Something went wrong in the node.Error{/// Human readable message; what went wrong.message:String,},/// Transaction is invalid (bad nonce, signature etc).Invalid{/// Human readable message; why was it invalid.message:String,},/// The transaction was dropped.Dropped{/// Human readable message; why was it dropped.message:String,},}/// Event generated by the `Client`.pubenumClientEvent<T:Client>{/// Event generated by the ClientNotify(T::Event),/// Informs that the tx status was updatedTxStatus{id:T::TransactionIdentifier,result:Result<TxStatus<T>,T::Error>},/// Query ResultQuery{id:T::QueryId,result:Result<T::ViewCallResult,T::Error>},/// Close the connection for the given reason.Close(T::Error),}pubtraitClient:Sized{// TransactionstypeTransactionIdentifier;typeTransaction:Encode + Decode;// View CallstypeViewCallIdentifier;typeViewCall:Encode + Decode;typeViewCallResult:Encode + Decode;// Client EventstypeEvent;typeError:Debug;/// Submits a signed transactionfnsubmit(&mutself,tx:Self::Transaction,) -> Result<Self::TransactionIdentifier,Self::Error>;/// Query some read-only datafnview_call(&mutself,query:Self::ViewCall,) -> Result<Self::ViewCallIdentifier,Self::Error>;/// Should behave like `Stream::poll()`.fnpoll_next_event(self:Pin<&mutSelf>,cx:&mutContext<'_>) -> Poll<ClientEvent<Self>>;}
Feature description
Connector redesign based on this document
https://www.notion.so/teamanalog/Connector-Redesign-5a2dd536e3284aa7917ee3a3552124a7
Expected output
eth_call
which reverts, out of gas, invalid view call, etc)Tests instructions
References Material
Additional Information
The text was updated successfully, but these errors were encountered: