forked from TrueCloudLab/frostfs-node
[#447] innerring: Do not handle or call InnerRingUpdate method
This method has been removed from netmap contract. Corresponding event from neofs contract renamed to AlphabetUpdate and should not be processed, because alphabet updated from `RoleManagement` contract. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
1d1fc04ac9
commit
999ad5e1c0
4 changed files with 0 additions and 69 deletions
|
@ -71,7 +71,6 @@ const (
|
|||
withdrawNotification = "Withdraw"
|
||||
chequeNotification = "Cheque"
|
||||
configNotification = "SetConfig"
|
||||
updateIRNotification = "InnerRingUpdate"
|
||||
)
|
||||
|
||||
// New creates neofs mainnet contract processor instance.
|
||||
|
@ -151,13 +150,6 @@ func (np *Processor) ListenerParsers() []event.ParserInfo {
|
|||
config.SetParser(neofsEvent.ParseConfig)
|
||||
parsers = append(parsers, config)
|
||||
|
||||
// update inner ring event
|
||||
updateIR := event.ParserInfo{}
|
||||
updateIR.SetType(updateIRNotification)
|
||||
updateIR.SetScriptHash(np.neofsContract)
|
||||
updateIR.SetParser(neofsEvent.ParseUpdateInnerRing)
|
||||
parsers = append(parsers, updateIR)
|
||||
|
||||
return parsers
|
||||
}
|
||||
|
||||
|
@ -193,13 +185,6 @@ func (np *Processor) ListenerHandlers() []event.HandlerInfo {
|
|||
config.SetHandler(np.handleConfig)
|
||||
handlers = append(handlers, config)
|
||||
|
||||
// updateIR handler
|
||||
updateIR := event.HandlerInfo{}
|
||||
updateIR.SetType(updateIRNotification)
|
||||
updateIR.SetScriptHash(np.neofsContract)
|
||||
updateIR.SetHandler(np.handleUpdateInnerRing)
|
||||
handlers = append(handlers, updateIR)
|
||||
|
||||
return handlers
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue