SubmittedTransaction::gas() in the published pallet-revive-eth-rpc crate (exposed via pub mod example; with no feature gate) unwraps an Option<U256> and panics when the underlying GenericTransaction has no gas field set, which is a legitimate state since GenericTransaction::gas is Option<U256> for legacy/incomplete payloads and the constructor never enforces gas-is-set; the fix is to change the return type to Option<U256> to match the underlying field and update the in-crate wait_for_receipt assertion to handle the None case.
SubmittedTransaction::gas()in the publishedpallet-revive-eth-rpccrate (exposed viapub mod example;with no feature gate) unwraps anOption<U256>and panics when the underlyingGenericTransactionhas no gas field set, which is a legitimate state sinceGenericTransaction::gasisOption<U256>for legacy/incomplete payloads and the constructor never enforces gas-is-set; the fix is to change the return type toOption<U256>to match the underlying field and update the in-cratewait_for_receiptassertion to handle theNonecase.