Skip to content

Resolve #110: Add missing inline declaration on blake2_f intrinsics helper#113

Merged
spoonincode merged 1 commit intoAntelopeIO:mainfrom
guilledk:fix_crypto_ext_inline
Mar 8, 2023
Merged

Resolve #110: Add missing inline declaration on blake2_f intrinsics helper#113
spoonincode merged 1 commit intoAntelopeIO:mainfrom
guilledk:fix_crypto_ext_inline

Conversation

@guilledk
Copy link

@guilledk guilledk commented Mar 7, 2023

Change Description

When attempting to use the new eosio/crypto_ext.hpp in a smart contract on more than one location, the wasm-ld linker throws duplicate symbol error, after asking on developer chat, @spoonincode figured out we were missing inline declarations on the blake2_f helper function, this patch-set removes some unnecessary white space and adds two inline declarations.

Closes #110

Copy link
Contributor

@spoonincode spoonincode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@spoonincode spoonincode merged commit 7c2c7e8 into AntelopeIO:main Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

blake2_f() in crypto_ext.hpp is not inline leading to duplicate symbol errors

3 participants