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
|
from .util import CeloUtil
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
from chainlib.dialect import DialectFilter as BaseDialectFilter
|
from chainlib.dialect import DialectFilter as BaseDialectFilter
|
||||||
|
|
||||||
class CeloBlockDialectFilter(BaseDialectFilter):
|
class DialectFilter(BaseDialectFilter):
|
||||||
def apply_src(self, src):
|
def apply_block(self, block):
|
||||||
src['gas_limit'] = '0x0'
|
block.src['gas_limit'] = '0x0'
|
||||||
return src
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user