Skip to content
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

Support RPC 0.6.0 #358

Merged
merged 103 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from 97 commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
d76a16c
EmittedEvent: make `blockHash` and `blockNumber` nullable
DelevoXDG Nov 22, 2023
78ae609
ExecutionResources: Hex -> Int; Add `segment_arena_builtin`
DelevoXDG Nov 22, 2023
db3041a
Add ResourceBounds and ResourceBoundsMapping
DelevoXDG Nov 22, 2023
791b45c
Add DA_MODE
DelevoXDG Nov 22, 2023
997cf47
Add DeclareTransactionV3 and DeclareTransactionV3Payload
DelevoXDG Nov 22, 2023
afaa38a
Merge branch 'main' into feat/356-support-rpc-0.6.0
DelevoXDG Dec 5, 2023
093519f
Merge branch 'main' into feat/356-support-rpc-0.6.0
DelevoXDG Dec 5, 2023
85687a0
Remove gateway-y deserialization from EmittedEvent
DelevoXDG Dec 5, 2023
b2b4373
Refactor NumAsHexSerializers
DelevoXDG Dec 5, 2023
4ffdc96
Refactor NumAsHex, Felt, NumAsHexBase; Move doc comments to NumAsHexBase
DelevoXDG Dec 5, 2023
cd13cb6
Add NumAsHexBase.toNumAsHex, toNumAsHex.toFelt
DelevoXDG Dec 5, 2023
35b070e
Add Uint128, Uint64
DelevoXDG Dec 5, 2023
e3dc302
Uint256: Refactor, Conform to NumAsHexBase
DelevoXDG Dec 5, 2023
b7cf579
Format
DelevoXDG Dec 5, 2023
183bfde
Merge branch 'main' into feat/356-support-rpc-0.6.0
DelevoXDG Dec 5, 2023
6f23ced
Update ResourcePrice
DelevoXDG Dec 5, 2023
787eb40
Update ResourceBounds
DelevoXDG Dec 5, 2023
2ee2a6c
Use Uint64 for tip (declare v3)
DelevoXDG Dec 5, 2023
1719ce6
Add SimulationFlagForEstimateFee to Provider and JsonRpcProvider
DelevoXDG Dec 6, 2023
568f1c9
Provider: refactor docs comments for simulateTransactions
DelevoXDG Dec 6, 2023
7da0a58
Account: support simulationFlags for estimateFee; Push all implementa…
DelevoXDG Dec 6, 2023
2aad197
Update EstimateMessageFeePayload to include simulationFlags
DelevoXDG Dec 6, 2023
4ecf5f3
Add FeePayment and PriceUnit
DelevoXDG Dec 6, 2023
89f2a72
Update EstimateFeeResponse
DelevoXDG Dec 6, 2023
1ef691a
Update actualFee in receipts; JsonNames -> SerialName
DelevoXDG Dec 6, 2023
73d1b66
Remove reduntant public modifier
DelevoXDG Dec 6, 2023
1a6638e
Add workaround ExecutionResourcesSerializer
DelevoXDG Dec 6, 2023
b265c52
FunctionInvocation: add executionResources
DelevoXDG Dec 6, 2023
ba47f89
EstimateFeeResponse: make feeUnit nullable (workaround)
DelevoXDG Dec 6, 2023
6841508
Adjust network tests, fix hashes, add some workarounds
DelevoXDG Dec 6, 2023
7f6584d
Format
DelevoXDG Dec 6, 2023
e24dcfd
Remove reduntant EstimateTransactionFeePayloadSerializer
DelevoXDG Dec 6, 2023
4d0b8fd
Update `estimate fee for declare v1` test
DelevoXDG Dec 6, 2023
a765eaf
Merge branch 'feat/356-support-rpc-0.6.0' of https://github.com/softw…
DelevoXDG Dec 6, 2023
fefdbe1
DevnetClient: allow checking tx success by status
DelevoXDG Dec 7, 2023
a14a23d
Don't use DevnetClient.createAccount; Deploy precreated ones instead …
DelevoXDG Dec 7, 2023
78a3155
Adjust devnet tests
DelevoXDG Dec 7, 2023
11f1155
Remove devnet account files from .gitignore
DelevoXDG Dec 7, 2023
b31a684
Refactor DevnetClient
DelevoXDG Dec 7, 2023
2f18c4b
Add PaymasterData alias
DelevoXDG Dec 8, 2023
672b66e
Add tx hash calculations for new txs
DelevoXDG Dec 8, 2023
69eb418
Add all v3 txs, txPayloads, make functions
DelevoXDG Dec 8, 2023
6fe7cca
Add deploy acc tx v3 payload
DelevoXDG Dec 8, 2023
87ac5a5
Update serializers
DelevoXDG Dec 8, 2023
964e67a
Adjust to addition of v1 prefixes
DelevoXDG Dec 8, 2023
ff6377c
Format
DelevoXDG Dec 8, 2023
e2f7b6e
Fix ExecutionResourcesSerializer to properly handle null
DelevoXDG Dec 11, 2023
7377e40
Remove max_fee from v3 txs; Restore old order
DelevoXDG Dec 11, 2023
90203c3
Adjust network and devnet tests
DelevoXDG Dec 11, 2023
89f5df1
Refactor TransactionPayloadSerializer; Minor changes
DelevoXDG Dec 11, 2023
0210312
Add V3 execution params
DelevoXDG Dec 12, 2023
673bf85
Add more To(NumAsHexBase) extensions
DelevoXDG Dec 12, 2023
3df941d
Update tx hashes calculations
DelevoXDG Dec 12, 2023
6559f7b
Minor refactor to invoke tx payload
DelevoXDG Dec 12, 2023
d1218c8
Minor refactor to signer
DelevoXDG Dec 12, 2023
b86b4c3
Move feeUtils to EstimateFeeResponse; Support STRK (pathfinder workar…
DelevoXDG Dec 12, 2023
d993411
Provider: support invoke v3
DelevoXDG Dec 12, 2023
290a62e
Fix imports
DelevoXDG Dec 12, 2023
af6cbfd
Update imports
DelevoXDG Dec 12, 2023
47dcb02
Account: Support signV3, executeV3
DelevoXDG Dec 12, 2023
dead0f2
Remove EstimatedFeeToMaxFee; Update FeeUtilsTest
DelevoXDG Dec 12, 2023
187e249
Add invoke v3 network test
DelevoXDG Dec 12, 2023
ed81eb6
Add more sign v3 overloads; Improve docs
DelevoXDG Dec 12, 2023
4659d6d
Bump devnet SHA (devnet w/ rpc 0.6.0)
DelevoXDG Dec 12, 2023
023c1dc
Refactor Params
DelevoXDG Dec 12, 2023
40e55b1
Add ToUint256
DelevoXDG Dec 13, 2023
dd532f0
Add String.toUint64, String.toUint256 for consistency
DelevoXDG Dec 13, 2023
ce8e2a6
Update deploy acc tx calculations
DelevoXDG Dec 13, 2023
a71014c
Fix deploy acc tx serialization (support v3)
DelevoXDG Dec 13, 2023
90f6f68
Format
DelevoXDG Dec 13, 2023
a97b4f5
Add ResourceBounds.ZERO
DelevoXDG Dec 13, 2023
fb11ad3
Add ResourceBounds.toMaxFee
DelevoXDG Dec 13, 2023
31b7801
Add default constructors for Params
DelevoXDG Dec 13, 2023
e708598
Provider: support deployAccount v3
DelevoXDG Dec 13, 2023
21a896c
Account: initial support signDeployAccountV3; estimateFeeV3
DelevoXDG Dec 13, 2023
d2ed950
Add deploy account v3 network test
DelevoXDG Dec 13, 2023
0ce66a5
Fix declare v3 payload serializer
DelevoXDG Dec 13, 2023
fd40192
Provider: support declare v3
DelevoXDG Dec 13, 2023
7dc8781
Account: support signDeclareV3
DelevoXDG Dec 13, 2023
077848c
DevnetClient.prefundAccount -> prefundAccountEth
DelevoXDG Dec 13, 2023
06f0c01
Add declare v3 devnet test
DelevoXDG Dec 13, 2023
93b97aa
Rename @Nested testcases
DelevoXDG Dec 13, 2023
464a4f6
Add ResourceBoundsMapping workaround
DelevoXDG Dec 13, 2023
948926e
Make ParamsV3 constructors private
DelevoXDG Dec 13, 2023
dee7cb6
Provider: support getEstimateFee with default simulationFlags
DelevoXDG Dec 13, 2023
22fd7fd
Remove contractAddress from PendingDeclareTransactionReceipt
DelevoXDG Dec 13, 2023
c7b4764
Account: overload more estimateFeeV3; Use polymorphism where possible
DelevoXDG Dec 13, 2023
594cd38
Fix build.gradle.kts tasks
DelevoXDG Dec 13, 2023
4ed97f8
Update StandardAccountTest: Nest; add v3 tests
DelevoXDG Dec 13, 2023
66e2411
Fix typo
DelevoXDG Dec 13, 2023
2fa2a81
Refactor tx calculations
DelevoXDG Dec 13, 2023
08912a9
Fix estimate deploy test to avoid collision of test cases
DelevoXDG Dec 13, 2023
0e99e03
Fix StandardAccount signing
DelevoXDG Dec 13, 2023
3f8e9c3
Fix network get invoke v3 test
DelevoXDG Dec 13, 2023
ae2345f
Add doc desciptions for Params
DelevoXDG Dec 13, 2023
4d1764b
Update .gitignore
DelevoXDG Dec 13, 2023
fd54234
Account.signV3 -> sign
DelevoXDG Dec 13, 2023
2ff612e
Update description per suggestion
DelevoXDG Dec 13, 2023
2b4b853
Update description per suggestion
DelevoXDG Dec 13, 2023
4174ca1
Remove redundant newlines
DelevoXDG Dec 13, 2023
5e49c8a
Make ResourcePrice.priceInWei nullable (Juno workaround)
DelevoXDG Dec 13, 2023
a116900
Bump version to 0.9.0
DelevoXDG Dec 13, 2023
3ba311a
Merge branch 'feat/356-support-rpc-0.6.0' of https://github.com/softw…
DelevoXDG Dec 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

runs-on: ${{ matrix.os }}
env:
DEVNET_SHA: 64c425b832b96ba09b49646fe0fbf49862c0fb6d
DEVNET_SHA: 85495efb71a37ad3921c8986474b7e78a9a9f5fc
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ venv
!gradle/wrapper/gradle-wrapper.jar

# Exclude test and demo resources temp files
lib/src/test/resources/accounts*
lib/src/test/resources/contracts*/target
lib/src/test/resources/compilers
javademo/src/main/resources/contracts*/target
test_variables.env

Expand Down
Loading