Comments (18)
Will like to take care of this one!
assigned!
from dojo.
alright then
from dojo.
Will like to take care of this one!
from dojo.
@kariy @glihm (or anybody who knows) I need help with this... how can I find real transactions on Voyager that match the criteria for every test? Deploy account, Declare and Invoke transactions
, for v1, v2 and v3 for each... I'm I supposed to create those transactions?
from dojo.
@kariy @glihm (or anybody who knows) I need help with this... how can I find real transactions on Voyager that match the criteria for every test?
Deploy account, Declare and Invoke transactions
, for v1, v2 and v3 for each... I'm I supposed to create those transactions?
You can just pick any txs (of each type) on Voyager then take their hash and the tx data that are used as inputs for the tx hash computation.
For example, to compute a invoke tx hash you'd need these data:
dojo/crates/katana/primitives/src/utils/transaction.rs
Lines 187 to 194 in 5a7ecd8
starknet docs for extra reference: https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/transactions/
from dojo.
hi @glihm, I would love to work on this
from dojo.
hey @Jonatan-Chaverri because there hasn't been any progress so far, i will be assigning this to @g4titanx instead.
from dojo.
@kariy Sure, sorry, have been busy these months with hackathons and other stuff. You can go ahead @g4titanx
from dojo.
okay, thanks
from dojo.
hi @kariy do you know of a faster way to search for versions of txs on voyager? i am having zero-luck finding a v3 declare type. i mean, since it's a v3 it should be among the latest txs. but even the latest txs dont use v3
from dojo.
hi @kariy do you know of a faster way to search for versions of txs on voyager? i am having zero-luck finding a v3 declare type. i mean, since it's a v3 it should be among the latest txs. but even the latest txs dont use v3
good question, tbh im also not sure. both starkscan and voyager doesn't seem to allow filtering by tx version.
i looked around the pathfinder repo for this, and maybe we can just copy the tx data for declare v3 from them https://github.com/eqlabs/pathfinder/blob/a133f157bda062187d99129367a0b18182476470/crates/common/src/transaction.rs#L1083.
from dojo.
hi @kariy do you know of a faster way to search for versions of txs on voyager? i am having zero-luck finding a v3 declare type. i mean, since it's a v3 it should be among the latest txs. but even the latest txs dont use v3
good question, tbh im also not sure. both starkscan and voyager doesn't seem to allow filtering by tx version.
i looked around the pathfinder repo for this, and maybe we can just copy the tx data for declare v3 from them https://github.com/eqlabs/pathfinder/blob/a133f157bda062187d99129367a0b18182476470/crates/common/src/transaction.rs#L1083.
yeah, we could. i entered the hash on voyager, there is no record of it tho.
does it make sense to use that same hash?
from dojo.
hi @kariy do you know of a faster way to search for versions of txs on voyager? i am having zero-luck finding a v3 declare type. i mean, since it's a v3 it should be among the latest txs. but even the latest txs dont use v3
good question, tbh im also not sure. both starkscan and voyager doesn't seem to allow filtering by tx version.
i looked around the pathfinder repo for this, and maybe we can just copy the tx data for declare v3 from them https://github.com/eqlabs/pathfinder/blob/a133f157bda062187d99129367a0b18182476470/crates/common/src/transaction.rs#L1083.yeah, we could. i entered the hash on voyager, there is no record of it tho.
based on the test cases, it seems to be a tx from SN_GOERLI chain (which is now deprecated). lets just use that one.
from dojo.
does it make sense to use that same hash?
we just need to use chain id for SN_GOERLI when we compute the hash
from dojo.
we just need to use chain id for SN_GOERLI when we compute the hash
how do i reference the SN_GOERLI tho, it's not part of the chain id enum here
from dojo.
we just need to use chain id for SN_GOERLI when we compute the hash
how do i reference the SN_GOERLI tho, it's not part of the chain id enum here
replied on the PR, basically lets use Katana's own type for chain id, instead of starknet-rs's.
from dojo.
okay.
from dojo.
completed #2216
from dojo.
Related Issues (20)
- Sozo init should clone the correct version of starter template HOT 2
- ci: Github Action for `cargo-udeps` failed
- Torii client compile error when importing v1.0.0-alpha.3 release HOT 2
- feat(world): make fields as keys in events where possible HOT 2
- katana: expose db metrics
- Update sozo with latest account_sdk
- Sozo controller deployment flow
- Events annotated by `#[dojo::event]` are not annotated as event in ABI HOT 1
- Add error message or warning for migrations with `print`s HOT 6
- Expose `resources` map in world API HOT 5
- feat(sozo): require manual confirmation from user before sending transaction if any anomaly is detected HOT 8
- [torii] Benchmarks HOT 1
- [torii-core] `pending_block_tx_cursor` logic doesn't work as expected HOT 1
- ci: Github Action for `cargo-udeps` failed HOT 1
- testing: dump state and initialize katana from dumped state for test runner HOT 2
- [BUG] `sozo init` command no longer works as documented HOT 4
- katana: separate node services (ie block production, messaging) into their own tasks
- ci: Github Action for `cargo-udeps` failed
- feat: add a systems list in the contract manifest entry
- katana: put `katana` api under dev mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dojo.