remix lib test version set to 0.6.0

pull/7/head
aniket-engg 5 years ago committed by Aniket
parent 617152b657
commit 5a5e3b6586
  1. 12
      remix-lib/test/txFormat.js

@ -6,7 +6,7 @@ var util = require('../src/util')
var compiler = require('solc') var compiler = require('solc')
var compilerInput = require('../src/helpers/compilerHelper').compilerInput var compilerInput = require('../src/helpers/compilerHelper').compilerInput
var executionContext = require('../src/execution/execution-context') var executionContext = require('../src/execution/execution-context')
var solidityVersion = 'v0.5.13+commit.5b0b510c' var solidityVersion = 'v0.6.0+commit.26b70077'
/* tape *********************************************************** */ /* tape *********************************************************** */
tape('load compiler ' + solidityVersion, function (t) { tape('load compiler ' + solidityVersion, function (t) {
@ -189,7 +189,7 @@ function testLinkLibrary2 (st, callbackDeployLibraries) {
} }
} }
var data = '608060405234801561001057600080fd5b506101e1806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80636d4ce63c14610030575b600080fd5b61003861003a565b005b73f7a10e525d4b168f45f74db1b61f63d3e7619e116344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b15801561007e57600080fd5b505af4158015610092573d6000803e3d6000fd5b5050505073f7a10e525d4b168f45f74db1b61f63d3e7619e336344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b1580156100da57600080fd5b505af41580156100ee573d6000803e3d6000fd5b5050505073f7a10e525d4b168f45f74db1b61f63d3e7619e336344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b15801561013657600080fd5b505af415801561014a573d6000803e3d6000fd5b5050505073f7a10e525d4b168f45f74db1b61f63d3e7619e116344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b15801561019257600080fd5b505af41580156101a6573d6000803e3d6000fd5b5050505056fea265627a7a723158203a6c52f87a5f6686d86ee093880a398214dccf1c90f755f6628d2827b6f4a66264736f6c634300050d0032' var data = '608060405234801561001057600080fd5b506101e2806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80636d4ce63c14610030575b600080fd5b61003861003a565b005b73f7a10e525d4b168f45f74db1b61f63d3e7619e116344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b15801561007e57600080fd5b505af4158015610092573d6000803e3d6000fd5b5050505073f7a10e525d4b168f45f74db1b61f63d3e7619e336344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b1580156100da57600080fd5b505af41580156100ee573d6000803e3d6000fd5b5050505073f7a10e525d4b168f45f74db1b61f63d3e7619e336344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b15801561013657600080fd5b505af415801561014a573d6000803e3d6000fd5b5050505073f7a10e525d4b168f45f74db1b61f63d3e7619e116344733ae16040518163ffffffff1660e01b815260040160006040518083038186803b15801561019257600080fd5b505af41580156101a6573d6000803e3d6000fd5b5050505056fea264697066735822122007784c53df7f324243100f6642d889a08a88831c3811dd13eebe3163b7eb2e5464736f6c63430006000033'
var deployMsg = ['creation of library test.sol:lib1 pending...', var deployMsg = ['creation of library test.sol:lib1 pending...',
'creation of library test.sol:lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2 pending...'] 'creation of library test.sol:lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2_lib2 pending...']
@ -353,7 +353,7 @@ var nestedArrayContract = `contract nestedArrayContractTest {
} }
}` }`
var deploySimpleLib = `pragma solidity ^0.5.0; var deploySimpleLib = `pragma solidity >= 0.5.0 < 0.7.0;
library lib1 { library lib1 {
function getEmpty () public { function getEmpty () public {
@ -374,20 +374,20 @@ contract testContractLinkLibrary {
} }
}` }`
var encodeFunctionCall = `pragma solidity ^0.5.0; var encodeFunctionCall = `pragma solidity >= 0.5.0 < 0.7.0;
contract testContractLinkLibrary { contract testContractLinkLibrary {
function get (uint _p, string memory _o) public { function get (uint _p, string memory _o) public {
} }
}` }`
var fallbackFunction = `pragma solidity ^0.5.0; var fallbackFunction = `pragma solidity >= 0.5.0 < 0.7.0;
contract fallbackFunctionContract { contract fallbackFunctionContract {
function get (uint _p, string memory _o) public { function get (uint _p, string memory _o) public {
} }
function () external {} fallback () external {}
}` }`
var abiEncoderV2 = `pragma experimental ABIEncoderV2; var abiEncoderV2 = `pragma experimental ABIEncoderV2;

Loading…
Cancel
Save