f-o-a-m / chanterelle

Chanterelle -- a more functional truffle
80 stars 13 forks source link

Simplify takeEvent #141

Closed martyall closed 1 year ago

martyall commented 1 year ago

the version of the function we have now is not concurrent friendly. For example if there are multiple transfers coming out of a block, it grabs the first one (e..g see the way the tests are written). This is almost never what you want, in this version of the function it will match with the transaction that was submitted"