EOSIO/eos

Pinned/Unpinned : Docker for development via VSCode connection

nyue opened this issue · 1 comments

nyue commented

I am planning to explorer the possibility of connecting VSCode to a EOSIO docker runtime for development

https://github.com/EOSIO/eos/tree/master/.cicd/platforms

There are two variants, pin and unpin.

Which one would you recommend I try ?

Cheers

A pinned build fixes the compiler version. This guarantees you will not have struct alignment issues, and won't have problems reading files such as blocks.logs correctly. This is obviously important for production.

An unpinned build does not fix the compiler, it uses whatever the default compiler exists on your system. This will take less time to build, but you could run into aforementioned struct alignment issue, or potentially other with specific compiler versions.

You may want to try unpinned build first to get a quick build, then in production use pinned.