Added Is1559() to test plugin
This commit is contained in:
parent
771c2e7cc3
commit
ace421d033
@ -220,6 +220,16 @@ func RPCSubscriptionTest() {
|
|||||||
// this injection is covered by another test in this package. See documentation for details.
|
// this injection is covered by another test in this package. See documentation for details.
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
// params/
|
||||||
|
|
||||||
|
func Is1559(*big.Int) bool { // while this hook resides in params the injections are in consensus/misc/ (2), and core/ (2)
|
||||||
|
m := map[string]struct{}{
|
||||||
|
"Is1559":struct{}{},
|
||||||
|
}
|
||||||
|
hookChan <- m
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
var plugins map[string]struct{} = map[string]struct{}{
|
var plugins map[string]struct{} = map[string]struct{}{
|
||||||
"OnShutdown": struct{}{},
|
"OnShutdown": struct{}{},
|
||||||
"SetTrieFlushIntervalClone":struct{}{},
|
"SetTrieFlushIntervalClone":struct{}{},
|
||||||
@ -258,5 +268,6 @@ var plugins map[string]struct{} = map[string]struct{}{
|
|||||||
"SetSnapDiscoveryURLs": struct{}{},
|
"SetSnapDiscoveryURLs": struct{}{},
|
||||||
"ForkIDs": struct{}{},
|
"ForkIDs": struct{}{},
|
||||||
"OpCodeSelect":struct{}{},
|
"OpCodeSelect":struct{}{},
|
||||||
|
"Is1559":struct{}{},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,6 +130,8 @@ func BlockChain() {
|
|||||||
delete(plugins, "ForkIDs")
|
delete(plugins, "ForkIDs")
|
||||||
case f("OpCodeSelect"):
|
case f("OpCodeSelect"):
|
||||||
delete(plugins, "OpCodeSelect")
|
delete(plugins, "OpCodeSelect")
|
||||||
|
case f("Is1559"):
|
||||||
|
delete(plugins, "Is1559")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user