Skip to content

Instantly share code, notes, and snippets.

View roshanr95's full-sized avatar

Roshan roshanr95

  • Marlin Protocol
  • Bangalore, India
View GitHub Profile
simple-taiko-node-taiko_client_driver-1 | INFO [10-30|08:59:13.386] Anchor arguments l1Hash=68e0c8..63e58e signalRoot=9c1056..6b8b50 l1Height=4,592,445 gasUsed=127,856
simple-taiko-node-taiko_client_driver-1 | INFO [10-30|08:59:13.394] "🔗 New L2 block inserted" blockID=930,176 height=930,176 hash=f29fc6..d05874 latestVerifiedBlockID=930,239 latestVerifiedBlockHash=1e4c68..ee683f transactions=1 baseFee=1 withdrawals=0
simple-taiko-node-taiko_client_driver-1 | INFO [10-30|08:59:13.395] New BlockProposed event L1Height=4,592,447 L1Hash=ec8e70..1c8e0a BlockID=930,177 Removed=false
simple-taiko-node-taiko_client_driver-1 | INFO [10-30|08:59:13.396] Transaction list is valid blockID=930,177
simple-taiko-node-taiko_client_driver-1 | INFO [10-30|08:59:13.396] Validate transactions list blockID=930,177 hint=1 invalidTxIndex=0
simple-taiko-node-taiko_client_driver-1 | INFO [10-30
import { ethers, providers, Wallet } from "ethers";
import { FlashbotsBundleProvider } from "@flashbots/ethers-provider-bundle";
import axios from 'axios';
async function fetchProof(address) {
let resp = await axios({
method: 'get',
url: 'https://api.otherside.xyz/proofs/'+address,
});
return resp.data;
@roshanr95
roshanr95 / cppcheck FP
Created October 9, 2019 04:38
A small snippet with cppcheck FP
template<class... Args>
std::pair<TransportType *, bool> get_or_create(
SocketAddress const &addr,
Args&&... args
) {
auto [iter, res] = transport_map.try_emplace(
addr,
std::forward<Args>(args)...
);
return std::make_pair(&iter->second, res);
=WARNING REPORT==== 3-May-2016::11:20:34 ===
Non-AMQP exit reason '{function_clause,
[{rabbit_delayed_message_utils,get_msg,
[{delivery,false,<0.1621.0>,
{basic_message,
{resource,<<"/">>,exchange,<<"delayed_exchange">>},
[<<"delayed_task">>],
{content,60,
{'P_basic',<<"application/json">>,<<"utf-8">>,
[{<<"x-delay">>,signedint,5000}],