You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
script {
use 0x1::STC::{STC};
use 0x164fbb953f822fbba95d582b1794687c::Market;
use 0x164fbb953f822fbba95d582b1794687c::Management::{StandardPosition};
fun main(sender: signer) {
Market::deposit<StandardPosition, STC>(&sender, 5, 1000000000);
}
}
当前的实现逻辑是把resource下载后保存起来,文件命名有可能过长,执行的时候会报错
Error: File name too long (os error 63)
执行命令分别为
move check --mode starcoin --starcoin-rpc https://barnard-seed.starcoin.org
move run src/RateDebug.move --mode starcoin --starcoin-rpc https://barnard-seed.starcoin.org --signers 0x56f8fbdb731c5803d8c1cd40b3be41e2 --block-number 806109
示例文件如下
看起来应该是下载的resource文件名过长,当前的文件名举例
0x164fbb953f822fbba95d582b1794687c::Treasury::Position<0x164fbb953f822fbba95d582b1794687c::Management::StandardPosition,0x164fbb953f822fbba95d582b1794687c::MUSDT::MUSDT>.bcs
The text was updated successfully, but these errors were encountered: