tendermint / spn

A blockchain to launch blockchains.
Other
112 stars 43 forks source link

Investigate error handling in auction creation hooks #869

Open lumtis opened 2 years ago

lumtis commented 2 years ago

Depends on https://github.com/tendermint/spn/pull/841

AfterFixedPriceAuctionCreated and AfterBatchAuctionCreated use the method EmitCampaignAuctionCreated that can fail with an error (should never be the case and therefore might be considered as a critical error)

This task is about investigating how to handle the error since the hook doesn't return an error

Potentially add logging for the error