NethermindEth / starknet.go

Golang Library for StarkNet/Cairo
MIT License
145 stars 105 forks source link

Merge TransactionReceipt types into a single type #576

Closed rianhughes closed 2 months ago

rianhughes commented 3 months ago

starknet go splits the receipts into distinct types. However, we can create a better user experience by having a single transaction receipt type (super set) and only populating the fields as necessary etc. This will also reduce the amount of code we need to maintain which is nice.