Developers Forum for XinFin XDC Network

Discussion on: Some function calls aren't getting executed correctly

Collapse
gzliudan profile image
Daniel Liu

Could you please share your codes on GitHub ? Then I can study your issue.

Thread Thread
haedarah_ali profile image
Haedarah Ali Author
Thread Thread
gzliudan profile image
Daniel Liu • Edited on

Please set version to v0.8.23 in solidity files correctly. I found you are still using higher versions, such as:

pragma solidity ^0.8.20;
pragma solidity ^0.8.26;
Enter fullscreen mode Exit fullscreen mode

Please change them to:

pragma solidity 0.8.23;
Enter fullscreen mode Exit fullscreen mode

Then compile and deploy your contracts again.

Thread Thread
Sloan, the sloth mascot
Comment deleted
haedarah_ali profile image
Haedarah Ali Author

I have added a directory that includes the codes that I am actually deploying and using for verification:
( github.com/Haedarah/xdc-lite-versi... )

I shared the separated codes earlier because it is easier to deal with them.