This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 291
dev: return deployed contract address in get_transaction_receipt
api
#1216
Merged
tdelabro
merged 32 commits into
keep-starknet-strange:main
from
tonypony220:addr_receipt
Nov 18, 2023
Merged
dev: return deployed contract address in get_transaction_receipt
api
#1216
tdelabro
merged 32 commits into
keep-starknet-strange:main
from
tonypony220:addr_receipt
Nov 18, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_transaction_receipt api
apiget_transaction_receipt
api
I'm not entirely sure about this logic because I need to delve deeper into events. Still, if someone can take a look and share advice, it would be awesome. |
tdelabro
suggested changes
Oct 27, 2023
@EvolveArt can you maybe take a look? |
EvolveArt
approved these changes
Nov 8, 2023
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.
Overall lgtm.
We should create an issue to deal with the deploy_account
edge case mentionned in the PR's comments.
Maybe in the future we can also find a more efficient way than looking at the events to retrieve this information.
tdelabro
suggested changes
Nov 9, 2023
@tonypony220 are you still making progresses on this one? |
Yeap! |
tdelabro
suggested changes
Nov 18, 2023
tdelabro
approved these changes
Nov 18, 2023
tonypony220
commented
Nov 18, 2023
tdelabro
approved these changes
Nov 18, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request type
What is the current behavior?
return zeros
Resolves: #1095
Resolves: #1111
What is the new behavior?
is_transaction_fee_disabled
get_index_and_tx_for_tx_hash
fn get_events_for_tx_by_index(tx_index: u64) -> Option<Vec<StarknetEvent>>
get_transaction_receipt
changes:actual_fee
fromTransfer
event if fee notfee_disabled
DeployAccount
transaction calculatescontract_address
, cause searching it in events is errorproneDoes this introduce a breaking change?
No
Other information