Method: Reth::JSONRPC::App#initialize

Defined in:
lib/reth/jsonrpc/app.rb

#initialize(node) ⇒ App

Returns a new instance of App.



42
43
44
45
46
47
48
49
50
51
# File 'lib/reth/jsonrpc/app.rb', line 42

def initialize(node)
  @node = node

  @default_block = 'latest'
  @default_address = .test_accounts.keys.first
  @default_startgas = 500 * 1000
  @default_gas_price = 60.shannon

  super()
end