File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -139,17 +139,8 @@ tape('Linking', function (t) {
139
139
st . ok ( bytecode . indexOf ( '_' ) < 0 ) ;
140
140
st . end ( ) ;
141
141
} ) ;
142
- } ) ;
143
-
144
- tape ( 'Linker via hash' , function ( t ) {
145
- t . test ( 'Non-hashed placeholder' , function ( st ) {
146
- var bytecode = '6060604052341561000__lib2.sol:L____________________________66606060606060' ;
147
- bytecode = linker . linkBytecode ( bytecode , { 'lib2.sol:L' : '0x123456' } ) ;
148
- st . equal ( bytecode , '6060604052341561000000000000000000000000000000000000012345666606060606060' ) ;
149
- st . end ( ) ;
150
- } ) ;
151
142
152
- t . test ( 'Hashed placeholder' , function ( st ) {
143
+ t . test ( 'hashed placeholder' , function ( st ) {
153
144
var bytecode = '6060604052341561000__cb901161e812ceb78cfe30ca65050c433771__66606060606060' ;
154
145
bytecode = linker . linkBytecode ( bytecode , { 'lib2.sol:L' : '0x123456' } ) ;
155
146
st . equal ( bytecode , '6060604052341561000000000000000000000000000000000000012345666606060606060' ) ;
You can’t perform that action at this time.
0 commit comments