-
Couldn't load subscription status.
- Fork 4
feat(processors): store update members #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
7601f59
a6df3a6
07b3f1b
56aeb30
6231518
d66ea1e
bd8b865
705c5c8
6c95927
82c52c1
7bb935e
7cbb4b3
135fdf9
cccbc06
3b05eb7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1089,6 +1089,34 @@ async fn test_load_from_remote_update(sequencer: &RunnerCtx) { | |
| .await | ||
| .unwrap(); | ||
|
|
||
| let res = account | ||
| .execute_v3(vec![Call { | ||
| to: actions_address, | ||
| selector: get_selector_from_name("update_player_config_items").unwrap(), | ||
| calldata: vec![Felt::ZERO], | ||
| }]) | ||
| .send_with_cfg(&TxnConfig::init_wait()) | ||
| .await | ||
| .unwrap(); | ||
|
|
||
| TransactionWaiter::new(res.transaction_hash, &provider) | ||
| .await | ||
| .unwrap(); | ||
|
|
||
| let res = account | ||
| .execute_v3(vec![Call { | ||
| to: actions_address, | ||
| selector: get_selector_from_name("update_player_config_items").unwrap(), | ||
| calldata: vec![Felt::from(1), Felt::from(1), Felt::from(20), Felt::from(12)], | ||
| }]) | ||
| .send_with_cfg(&TxnConfig::init_wait()) | ||
| .await | ||
| .unwrap(); | ||
|
|
||
| TransactionWaiter::new(res.transaction_hash, &provider) | ||
| .await | ||
| .unwrap(); | ||
|
|
||
| let world_reader = WorldContractReader::new(world_address, Arc::clone(&provider)); | ||
|
|
||
| let tempfile = NamedTempFile::new().unwrap(); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to check that the state of the model from the DB is the correct one |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might wanna make multiple updates and verify that the latest state is the latest one.