如何为javascript / truffle中的每个测试创建新的以太坊/实体合约 [英]how to create new ethereum/solidity contract for each test in javascript/truffle
使用 truffle/hdwallet-provider 调用智能合约 function [英]Calling a smart contract function using truffle/hdwallet-provider
松露测试给出“错误:尝试运行调用合同功能的交易,但收件人地址___不是合同地址” [英]Truffle test gives “Error: Attempting to run transaction which calls a contract function, but recipient address ___ is not a contract address”
我尝试在 truffle 中部署我的智能合约,但是当我“truffle 迁移”时显示“不受支持的编译器”,我该如何解决这个问题? [英]I try to deploy my smart contract in truffle but is says "unsupported compiler" when I "truffle migrate" how can I fix this?
用松露测试我的智能合约时“TypeError: inst.createZombie(...).send is not a function” [英]“TypeError: inst.createZombie(…).send is not a function” when testing my smart contract with truffle
智能合约的返回地址函数返回承诺对象而不是松露测试中的地址 [英]Return address function from smart contract returns promise object instead of address in truffle test