Tags: sashaphmn/engine
Tags
replace spread with individual assignment (thirdweb-dev#872) queuedTransaction has a "from" field which is the EOA address in the case of userops. The presence of a incorrect "from" address in a userop causes issues like estimation failures. To avoid this, we are selectively passing only the "data" and "value" fields, along with gas overrides.
Refactor contract read route to use thirdweb v5 (thirdweb-dev#871)
Support hex transaction types in fromTransactionType (thirdweb-dev#861) ## Changes - Linear: https://linear.app/thirdweb/issue/INF-171/ - Here is the problem being solved. - Here are the changes made. ## How this PR will be tested - [ ] Open the dashboard and click X. Result: A modal should appear. - [ ] Call the /foo/bar API. Result: Returns 200 with "baz" in the response body. ## Output (Example: Screenshot/GIF for UI changes, cURL output for API changes) <!-- start pr-codex --> --- ## PR-Codex overview This PR modifies the `src/shared/utils/sdk.ts` file by enhancing the `fromTransactionType` function and removing the `toTransactionType` function, streamlining transaction type handling. ### Detailed summary - Added `hexToNumber` and `isHex` imports from `thirdweb`. - Updated `fromTransactionType` to convert hex transaction types using `hexToNumber`. - Removed the entire `toTransactionType` function. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
fix non sbw flow for AA atomic transactions (thirdweb-dev#859)
expose cache size env var (thirdweb-dev#858) * expose cache size env var * fix typo
update thirdweb SDK (thirdweb-dev#856) ## Changes - Linear: https://linear.app/thirdweb/issue/INF-171/ - Here is the problem being solved. - Here are the changes made. ## How this PR will be tested - [ ] Open the dashboard and click X. Result: A modal should appear. - [ ] Call the /foo/bar API. Result: Returns 200 with "baz" in the response body. ## Output (Example: Screenshot/GIF for UI changes, cURL output for API changes) <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a new `Config` interface in the `abitype` module, updates several package versions in `package.json`, and modifies various TypeScript files to use types from the `ox` module instead of `abitype`. It also improves type definitions in several functions. ### Detailed summary - Added `Config` interface in `abitype` module. - Updated package versions in `package.json`: - `ox` from `^0.6.9` to `0.6.9` - `thirdweb` from `^5.83.0` to `5.89.0` - `viem` from `^2.21.54` to `2.22.17` - Changed imports from `abitype` to `ox` in multiple files. - Updated type definitions for `AbiEvent` and `AbiFunction` in various functions. - Improved type safety in function parameters and return types across several files. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
PreviousNext