forked from cerc-io/ipld-eth-server
moving some memory allocation to init function rather than within
execution cycles and fixing test db tear down so that it drops checked_headers table instead of individual columns (droping columns only hides them, they remain in memory and continue to contribute to the 1600 column limit which causes us to eventually exceed it)
This commit is contained in:
@@ -81,7 +81,7 @@ func (c *Contract) GenerateFilters() error {
|
||||
Name: event.Name,
|
||||
FromBlock: c.StartingBlock,
|
||||
ToBlock: -1,
|
||||
Address: c.Address,
|
||||
Address: common.HexToAddress(c.Address).Hex(),
|
||||
Topics: core.Topics{event.Sig().Hex()},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user