Commit Graph

24 Commits

Author SHA1 Message Date
Jim Posen 24924f59ec Change gas metering injection code to handle branches properly. 2019-07-04 17:57:40 +02:00
Jim Posen de60f491b4 Fix ordering of actual and expected arguments in assert_eq!. 2019-07-04 17:57:40 +02:00
Jim Posen 4c0f42c6fc Perform gas metering injection step in linear time.
Previously the code was quadratic in the worst case as inserting into
the middle of a vector is a linear-time operation.
2019-07-04 17:57:40 +02:00
Jim Posen 929e0ec2c0 Documentation of gas metering instrumentation process. 2019-06-26 12:47:30 +02:00
Sergey Pepyakin 471a9b3fcc Account start function in gas func patching. 2018-12-24 19:28:53 +01:00
Wei Tang af2d61b9f8 Fix tests and cli 2018-06-29 19:06:33 +08:00
Wei Tang d6f82000ee Update parity-wasm dependency to 0.31 2018-06-29 19:01:06 +08:00
Hernando Castano e6e340fa0a Update matches with single arm to be if-let statements 2018-05-29 22:46:11 -04:00
Wei Tang a30afec0cd Port core util lib to support no_std 2018-05-15 08:22:29 +08:00
Sergey Pepyakin 6c655fadcd Refactor gas metering. 2018-04-24 16:05:13 +03:00
NikVolf 48232fb9bb fix grow memory injector 2018-02-21 20:45:11 +03:00
NikVolf 9e92237c4d add rules with forbid operations 2018-02-19 19:28:12 +03:00
NikVolf 67a542927a fix attempt 2018-02-05 15:35:26 +03:00
NikVolf d220107dab add validation via wabt-rs and fix 2018-02-05 00:43:28 +03:00
NikVolf 24dc9e3f15 add grow memory injecting 2018-02-05 00:32:51 +03:00
NikVolf 6a575c30a9 inject with rules 2017-10-04 13:53:03 +03:00
NikVolf b2d04ea3a9 initial cost table 2017-07-25 18:43:12 +03:00
NikVolf 357a5deed6 more tests 2017-06-26 16:09:56 +03:00
NikVolf b46ba2acdb some tests 2017-06-26 16:03:27 +03:00
NikVolf c5ac4cba56 updated to new parity-wasm api 2017-06-26 14:27:29 +03:00
NikVolf 729dddc9cc wasm-pack utility to pack wasm files into transactions payload 2017-06-09 18:36:32 +03:00
NikVolf 0410ae407a update gas assert 2017-05-26 02:40:28 +03:00
NikVolf f2d99ce888 tabify all 2017-05-19 16:54:53 +03:00
NikVolf beea9addfc various fixes 2017-05-04 17:38:09 +03:00