Use apply-block for block
This commit is contained in:
parent
0f7937d9b1
commit
07e87cf6ff
@ -1,2 +1,2 @@
|
||||
from .block_dialect_filter import CeloBlockDialectFilter
|
||||
from .block_dialect_filter import *
|
||||
from .util import CeloUtil
|
||||
|
@ -1,7 +1,5 @@
|
||||
from chainlib.dialect import DialectFilter as BaseDialectFilter
|
||||
|
||||
class CeloBlockDialectFilter(BaseDialectFilter):
|
||||
def apply_src(self, src):
|
||||
src['gas_limit'] = '0x0'
|
||||
return src
|
||||
|
||||
class DialectFilter(BaseDialectFilter):
|
||||
def apply_block(self, block):
|
||||
block.src['gas_limit'] = '0x0'
|
||||
|
Loading…
Reference in New Issue
Block a user