File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99 "rust:build-asm" : " (rimraf ./rust/pkg && cd rust; wasm-pack build --target=browser; wasm-pack pack) && npm run asm:build && npm run js:flowgen" ,
1010 "rust:publish" : " cd rust && cargo publish && cd ../" ,
1111 "asm:build" : " ./binaryen/bin/wasm2js ./rust/pkg/cardano_serialization_lib_bg.wasm --output ./rust/pkg/cardano_serialization_lib.asm.js && node ./scripts/wasm-to-asm" ,
12- "rust:check-warnings" : " (cd rust; RUSTFLAGS=\" -D warnings\" cargo build)" ,
12+ "rust:check-warnings" : " (cd rust; RUSTFLAGS=\" -D warnings\" cargo +stable build)" ,
1313 "rust:test" : " (cd rust; cargo test)" ,
1414 "js:flowgen" : " flowgen ./rust/pkg/cardano_serialization_lib.d.ts -o ./rust/pkg/cardano_serialization_lib.js.flow --add-flow-header" ,
1515 "js:prepublish" : " npm run rust:test && rimraf ./publish && cp -r ./rust/pkg ./publish && cp README.md publish/ && cp LICENSE publish/" ,
Original file line number Diff line number Diff line change @@ -842,7 +842,7 @@ impl TransactionBuilder {
842842 // recall: min_fee assumed the fee was the maximum possible so we definitely have enough input to cover whatever fee it ends up being
843843 builder. set_fee ( burn_amount) ;
844844 Ok ( false ) // not enough input to covert the extra fee from adding an output so we just burn whatever is left
845- } ;
845+ }
846846 match change_estimator. coin ( ) >= min_ada {
847847 false => burn_extra ( self , & change_estimator. coin ( ) ) ,
848848 true => {
Original file line number Diff line number Diff line change @@ -1036,7 +1036,7 @@ fn bundle_size(
10361036 // converts bytes to 8-byte long words, rounding up
10371037 fn roundup_bytes_to_words ( b : usize ) -> usize {
10381038 quot ( b + 7 , 8 )
1039- } ;
1039+ }
10401040 constants. k0 + roundup_bytes_to_words (
10411041 ( num_assets * constants. k1 ) + sum_asset_name_lengths +
10421042 ( constants. k2 * sum_policy_id_lengths)
You can’t perform that action at this time.
0 commit comments