diff --git a/CHANGELOG.md b/CHANGELOG.md index feb6f8af..b31c4abc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,72 +1,3 @@ -## [1.1.0](https://github.com/propeller-heads/protosim/compare/1.0.0...1.1.0) (2024-10-17) - - -### Features - -* implement get_contract_bytecode util function ([a4bce5d](https://github.com/propeller-heads/protosim/commit/a4bce5d8100c5ecbfcdfc39a2af47284c8412edf)) - - -### Bug Fixes - -* make get_contract_bytecote pub ([50fd8e7](https://github.com/propeller-heads/protosim/commit/50fd8e7413863a1208fc7bf9d38e3bfb99163c29)) - -## 1.0.0 (2024-10-17) - - -### Features - -* (NTQ) Add gas to ERC20Token object ([f88b679](https://github.com/propeller-heads/protosim/commit/f88b679fec33aaa07cf1161be728fb9ce0ac358f)) -* Add console subscriber option to run locally ([da20c5c](https://github.com/propeller-heads/protosim/commit/da20c5c9003508ccd8be9abff5d03b3836289ea8)) -* Add gas prices to NTQv2 ([b082491](https://github.com/propeller-heads/protosim/commit/b0824917f22cf841e52c9af8abc91f6387a867d7)) -* Convert protosim dir into src ([41577f1](https://github.com/propeller-heads/protosim/commit/41577f151fb2e1086a1f2132d048e97c9277ae67)) -* **decoder:** Make handling vm updates public. ([84ba99f](https://github.com/propeller-heads/protosim/commit/84ba99f4e69dde6085d17e141ba83bdd20364aa6)) -* Don't use enum_dispatch in ProtocolSim ([30beec1](https://github.com/propeller-heads/protosim/commit/30beec1c3d025740d7dd5ef2a94c4b80ce66e327)) -* Move graph (Protograph) into the NTQ src directory ([72e26d2](https://github.com/propeller-heads/protosim/commit/72e26d26eaeb29af135c8ca7f6e46bad82c2b9b2)) -* **ntq:** Update tycho-client for smoother startups ([0cf633b](https://github.com/propeller-heads/protosim/commit/0cf633b1f1cf059c6534cd40323464006f380813)) -* **ntq:** Update tycho-client. ([9141ce2](https://github.com/propeller-heads/protosim/commit/9141ce2596464d0fc4a05668da9b705d9283c74f)) -* NTQv2 deduct gas from token price calc ([83095b4](https://github.com/propeller-heads/protosim/commit/83095b4c89959b4b26aaf098d9efa15f7a9d07aa)) -* NTQv2 pass gas amount to price calculation ([3466807](https://github.com/propeller-heads/protosim/commit/34668076c364327ffe91bdf18959891a995f8c2e)) -* **protosim-py:** Add third party pool. ([04b56d8](https://github.com/propeller-heads/protosim/commit/04b56d83bee1db704b767460834e6d0126d5bcdd)) -* **protosim:** Allow adding python sources ([02fbfcc](https://github.com/propeller-heads/protosim/commit/02fbfccf9a8f649d495f14e79f7891fff8be1b49)) -* **protosim:** Replace opcode traces with foundry traces. ([07588e5](https://github.com/propeller-heads/protosim/commit/07588e5947b51fadd0b800daaf11a146f322aae9)) -* **py:** Expose Starknet structs publicly. ([c48d0d9](https://github.com/propeller-heads/protosim/commit/c48d0d9306ce404092f02956c00f6f684146a99e)) -* **quoter:** Support new and removed pools. ([906de9e](https://github.com/propeller-heads/protosim/commit/906de9ec1cfd273b8d499ad79f4fe4d221b6d96e)) -* Setup protosim repo ([3a66682](https://github.com/propeller-heads/protosim/commit/3a66682c7d6c2a1b773f1e991ae7a3d9734fd802)) -* **traces:** Add open telemetry tracing ([648b96c](https://github.com/propeller-heads/protosim/commit/648b96c274f03d4d355135c6ea7a02bb2f5073d4)) -* **TTP:** Add logic to pull code for stateless contracts ([c83b282](https://github.com/propeller-heads/protosim/commit/c83b2822d02e5843a2c816ccad6491e151312809)) -* update tycho-client to version 0.9.1 ([14be854](https://github.com/propeller-heads/protosim/commit/14be854e95c9129c802dab383a2c862d01cefe45)) - - -### Bug Fixes - -* AccountUpdate & ResponseAccount substitution ([1a21ef5](https://github.com/propeller-heads/protosim/commit/1a21ef5560d840fdfd6b1c9412fecee2abc9c3e3)) -* add decode failed pools to skipped pools list ([d3d979c](https://github.com/propeller-heads/protosim/commit/d3d979ca155288ee2cfc3b70651f6e3e85158d20)) -* Also set EVM to Cancun if trace is enabled ([286316a](https://github.com/propeller-heads/protosim/commit/286316a810ddd37b492670bf661874576eb2377c)) -* changed pipeline for test and lint to generate a token for git r… ([#2](https://github.com/propeller-heads/protosim/issues/2)) ([8a5e879](https://github.com/propeller-heads/protosim/commit/8a5e879087e9648b855a9e231fbf40028085c088)) -* dependecies looser requirments ([6fa7461](https://github.com/propeller-heads/protosim/commit/6fa746193612443da5874ad429b2afae37963d95)) -* ignored pools update ([5c361c5](https://github.com/propeller-heads/protosim/commit/5c361c5b67883df384e01758e83c4fd40c11af57)) -* improve db singleton initialize logic ([aa121f6](https://github.com/propeller-heads/protosim/commit/aa121f697ead66c304b66ff9b530282c872fa807)) -* improve snapshot logs ([463f5d1](https://github.com/propeller-heads/protosim/commit/463f5d1e3327bd569c8cabb44e2899df56408678)) -* improve TTP snapshot decoding error logs ([143feb5](https://github.com/propeller-heads/protosim/commit/143feb533ebe98498332b79e47977fc277ac0b25)) -* initialize tycho db singleton on decoder init ([ff0fc4d](https://github.com/propeller-heads/protosim/commit/ff0fc4daf9f74ebd26ff4ffce0b3f38c45ff9d24)) -* Misc fixes ([8056c93](https://github.com/propeller-heads/protosim/commit/8056c93d084eaa3852244669f2e921c9af29a4ff)) -* Misc fixes around byte decoding and encoding. ([a679892](https://github.com/propeller-heads/protosim/commit/a679892455d760f0ae5bd2a3ef6231c32709b874)) -* NTQ gas - take min value of ERC20Token array ([b1249af](https://github.com/propeller-heads/protosim/commit/b1249afecb54b7536429b5c3231f560c95eb09b1)) -* **protosim:** Update time dependency. ([1482517](https://github.com/propeller-heads/protosim/commit/1482517cefb24894417d565f6bd043b2b91539ad)) -* **quoter:** Add separate method to clear route cache. ([1b67bb2](https://github.com/propeller-heads/protosim/commit/1b67bb2ea86f85a84786212d2995983c3144c626)) -* **quoter:** Update all tycho-client dependencies ([b830936](https://github.com/propeller-heads/protosim/commit/b830936cae107ef12cee00ad8d5aae2fd559283d)) -* **quoter:** Update tycho-client dependency ([e23769f](https://github.com/propeller-heads/protosim/commit/e23769f14724f3a7206fd4cbf98f1bd9b054f7bd)) -* skip applying deltas for ignored pools ([d430b1b](https://github.com/propeller-heads/protosim/commit/d430b1b7f09c41226481f7cb155ca5f3e5611530)) -* skip failing starknet tests ([8fbf8ac](https://github.com/propeller-heads/protosim/commit/8fbf8acb00ea159fa8ae7ae69ee0d6ffc40f88e8)) -* Stale prices ([eb25a5a](https://github.com/propeller-heads/protosim/commit/eb25a5ac40aac88b3c0027c9e60451c2da284d26)) -* Support clone in DodoPoolState ([fdf2028](https://github.com/propeller-heads/protosim/commit/fdf202802bf813dc36ab2d043fa52ef3a2492da3)) -* **ttp:** bump `tycho-indexer-client` version ([45fccf8](https://github.com/propeller-heads/protosim/commit/45fccf87e8df85f25f19a56fc2af3c90447532a0)) -* **ttp:** fix tycho-client import ([34c893c](https://github.com/propeller-heads/protosim/commit/34c893c71317c4511d9b844a15b3c6cb036d39d5)) -* **tycho-decoder:** fix typo in `pool.manual_updates` ([e696e3d](https://github.com/propeller-heads/protosim/commit/e696e3dd9b934aa460738c349f15ac3755f403e3)) -* update tycho client ([f1b140c](https://github.com/propeller-heads/protosim/commit/f1b140ce985cfdfde8a6e236c2a98facceaab855)) -* update tycho-client dependency ([78047bf](https://github.com/propeller-heads/protosim/commit/78047bfcede638f9c795158c9e19ed0ebae162e2)) -* Use RwLock instead of RefCell in DodoPoolState ([51a2f87](https://github.com/propeller-heads/protosim/commit/51a2f87434256bdf5c725157eab68a3d07408658)) - ## [0.20.0](https://github.com/propeller-heads/protosim/compare/0.19.0...0.20.0) (2024-10-10) diff --git a/Cargo.lock b/Cargo.lock index 906f54af..15262e9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ dependencies = [ [[package]] name = "_protosim_py" -version = "1.1.0" +version = "0.21.0" dependencies = [ "ethers", "hex", @@ -6128,7 +6128,7 @@ dependencies = [ [[package]] name = "protosim" -version = "1.1.0" +version = "0.21.0" dependencies = [ "approx", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 9255d7e6..8e693313 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "protosim" -version = "1.1.0" +version = "0.21.0" edition = "2021" [workspace] diff --git a/protosim_py/Cargo.toml b/protosim_py/Cargo.toml index d5664f97..5e9b72f8 100644 --- a/protosim_py/Cargo.toml +++ b/protosim_py/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "_protosim_py" -version = "1.1.0" +version = "0.21.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protosim_py/pyproject.toml b/protosim_py/pyproject.toml index f470800d..009eeb9e 100644 --- a/protosim_py/pyproject.toml +++ b/protosim_py/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "protosim-py" -version = "1.1.0" +version = "0.21.0" requires-python = ">=3.7" classifiers = [ "Programming Language :: Rust",