Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
cbc10638
Commit
cbc10638
authored
Nov 24, 2016
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test
parent
e7d48971
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
84 deletions
+40
-84
byteStorage.js
test/solidity/contracts/byteStorage.js
+40
-84
No files found.
test/solidity/contracts/byteStorage.js
View file @
cbc10638
...
...
@@ -9,90 +9,46 @@ module.exports = {
c,
d
}
bool b1;
address a1;
bool b2;
bytes dynb1;
byte stab;
bytes1 stab1;
bytes2 stab2;
bytes3 stab3;
bytes4 stab4;
bytes5 stab5;
bytes6 stab6;
bytes7 stab7;
bytes8 stab8;
bytes9 stab9;
bytes10 stab10;
bytes11 stab11;
bytes12 stab12;
bytes13 stab13;
bytes14 stab14;
bytes15 stab15;
bytes16 stab16;
bytes17 stab17;
bytes18 stab18;
bytes19 stab19;
bytes20 stab20;
bytes21 stab21;
bytes22 stab22;
bytes23 stab23;
bytes24 stab24;
bytes25 stab25;
bytes26 stab26;
bytes27 stab27;
bytes28 stab28;
bytes29 stab29;
bytes30 stab30;
bytes31 stab31;
bytes32 stab32;
enum1 enumDec;
string str1;
string str2;
function byteStorage () {
b1 = false;
a1 = 0xfe350f199f244ac9a79038d254400b632a633225;
b2 = true;
dynb1 = 'dynamicbytes';
stab = 0x1;
stab1 = 0x12;
stab2 = 0x1579;
stab3 = 0x359356;
stab4 = 0x2375;
stab5 = 0x2357645;
stab6 = 0x324435;
stab7 = 0x324324;
stab8 = 0x324554645765;
stab9 = 0x3434543;
stab10 = 0x4543543654657;
stab11 = 0x54354654;
stab12 = 0x3;
stab13 = 0x3243242345435;
stab14 = 0x32454354354353;
stab15 = 0x32454434435;
stab16 = 0x3245435444;
stab17 = 0x32454343243243245;
stab18 = 0x324534325435435;
stab19 = 0x324543435435435;
stab20 = 0x32454543543AB35;
stab21 = 0x32454432423435;
stab22 = 0x324543AEF5;
stab23 = 0x3245435FFF;
stab24 = 0x3245435F;
stab25 = 0x3245435F;
stab26 = 0x3245435F;
stab27 = 0x3245FFFFFFF;
stab28 = 0x3241235;
stab29 = 0x325213213;
stab30 = 0x3245435232423;
stab31 = 0x3245435123;
stab32 = 0x324324423432543543AB;
enumDec = enum1.d;
str1 = 'short';
str2 = 'long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long';
}
bool b1 = false;
address a1 = 0xfe350f199f244ac9a79038d254400b632a633225;
bool b2 = true;
bytes dynb1 = 'dynamicbytes';
byte stab = 0x1;
bytes1 stab1 = 0x12;
bytes2 stab2 = 0x1579;
bytes3 stab3 = 0x359356;
bytes4 stab4 = 0x2375;
bytes5 stab5 = 0x2357645;
bytes6 stab6 = 0x324435;
bytes7 stab7 = 0x324324;
bytes8 stab8 = 0x324554645765;
bytes9 stab9 = 0x3434543;
bytes10 stab10 = 0x4543543654657;
bytes11 stab11 = 0x54354654;
bytes12 stab12 = 0x3;
bytes13 stab13 = 0x3243242345435;
bytes14 stab14 = 0x32454354354353;
bytes15 stab15 = 0x32454434435;
bytes16 stab16 = 0x3245435444;
bytes17 stab17 = 0x32454343243243245;
bytes18 stab18 = 0x324534325435435;
bytes19 stab19 = 0x324543435435435;
bytes20 stab20 = 0x32454543543AB35;
bytes21 stab21 = 0x32454432423435;
bytes22 stab22 = 0x324543AEF5;
bytes23 stab23 = 0x3245435FFF;
bytes24 stab24 = 0x3245435F;
bytes25 stab25 = 0x3245435F;
bytes26 stab26 = 0x3245435F;
bytes27 stab27 = 0x3245FFFFFFF;
bytes28 stab28 = 0x3241235;
bytes29 stab29 = 0x325213213;
bytes30 stab30 = 0x3245435232423;
bytes31 stab31 = 0x3245435123;
bytes32 stab32 = 0x324324423432543543AB;
enum1 enumDec = enum1.d;
string str1 = 'short';
string str2 = 'long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long__long';
}
`
,
storage
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment