flashbots / suave-docs

https://suave.flashbots.net
Creative Commons Attribution 4.0 International
5 stars 2 forks source link

`Suave` Importation in test is wrong #110

Closed banr1 closed 3 months ago

banr1 commented 3 months ago

I was implementing code while reading the documentation and noticed a mistake. I'm not sure if this is the right way to do it, but I'll report it here.

This line is probably incorrect:

import "suave-std/Suave.sol";

https://github.com/flashbots/suave-docs/blob/97f8b9adc5dbe9bdbb240350a1888d506b1f9e72/docs/tools/suave-std-index.mdx?plain=1#L66

I believe the following is correct:

import "suave-std/suavelib/Suave.sol";
banr1 commented 2 months ago

Thank you so much @andytudhope!

I wish for the prosperity of Suave. Please continue to support us!