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

Cross-VM Feature Branch #2076

Draft
wants to merge 61 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
d6f3010
Create FCL Ethereum Provider Boilerplate
jribbink Jan 27, 2025
05c441d
Fix CI (#2077)
jribbink Jan 27, 2025
4af4ae4
Add FCL Etheruem Provider AccountManager stub (#2078)
jribbink Jan 27, 2025
1452dc0
Setup eth accounts handler (#2079)
chasefleming Jan 27, 2025
64487ca
Add fallback gateway (#2083)
jribbink Jan 28, 2025
8c69e9c
Implement eth request accounts (#2088)
chasefleming Jan 29, 2025
d651fd2
Implement `eth_sendTransaction` RPC Method (#2089)
jribbink Jan 29, 2025
5c9de12
Implement FCL Ethereum Provider `accountsChanged` Event (#2091)
jribbink Jan 29, 2025
a9659aa
Return unsubscribe from account manager (#2094)
chasefleming Jan 29, 2025
2fda71b
Implement `personal_sign` (#2095)
chasefleming Jan 30, 2025
167277e
Implement Reactive State Management using Observabales (#2098)
jribbink Jan 31, 2025
b2f9026
Implement FCL Ethereum Provider `chainChanged` Event (#2096)
jribbink Feb 3, 2025
4c7ec61
Implement provider `connect` event (#2090)
jribbink Feb 3, 2025
29d7f07
Add `eth_signTypedData` (#2097)
chasefleming Feb 3, 2025
4829b5a
Add check for `from` address in `AccountManager.sendTransaction` (#2103)
jribbink Feb 3, 2025
7bb563b
Add noop for add eth chain (#2106)
chasefleming Feb 4, 2025
9a57857
Add typed params for wallet_addEthereumChain (#2109)
chasefleming Feb 4, 2025
31df38b
Implement wallet_switchEthereumChain (#2111)
chasefleming Feb 4, 2025
2d651a3
Handle `eth_chainId` Locally in FCL Ethereum Provider (#2116)
jribbink Feb 5, 2025
e3dae26
Setup disconnect (#2119)
chasefleming Feb 5, 2025
d11dd4e
Add EVM contract address to scripts (#2121)
jribbink Feb 5, 2025
e37469b
Create COA on request accounts (#2120)
chasefleming Feb 6, 2025
d8d7523
Adhere to EIP-1193 / EIP-1474 Error Format (#2117)
jribbink Feb 6, 2025
5cead72
Fix testnet chain ID (#2124)
jribbink Feb 6, 2025
aa0a5a3
Merge branch 'master' into feature/cross-vm
jribbink Feb 6, 2025
b4b3e1b
Add UI for storage error (#2126)
chasefleming Feb 7, 2025
b81429b
Add Boilerplate Wagmi & Rainbowkit Adapter (#2105)
jribbink Feb 8, 2025
b9e9510
Precalulate tx hash (#2130)
chasefleming Feb 12, 2025
070f216
Clean up prefix handling (#2132)
chasefleming Feb 12, 2025
4057abd
Fix eth_sendTransaction (#2134)
jribbink Feb 12, 2025
970a192
Merge branch 'master' into feature/cross-vm
jribbink Feb 12, 2025
184cee5
Misc cleanup and refactoring (#2136)
chasefleming Feb 12, 2025
bf3b619
Refactoring: move to helpers (#2139)
chasefleming Feb 13, 2025
1468eda
Move tx hash method to util (#2140)
chasefleming Feb 13, 2025
572686f
Fix `eth_sendTransaction` bugs (#2144)
jribbink Feb 14, 2025
a483f33
Add readme (#2143)
chasefleming Feb 14, 2025
5a9f98f
Implement disconnected spec (#2141)
chasefleming Feb 14, 2025
8ffcc1b
Create Flow Wallet Connector (#2146)
jribbink Feb 15, 2025
c93d497
Update Rainbowkit instructions (#2149)
jribbink Feb 18, 2025
e843d56
Make FCL Ethereum provider associative (#2150)
jribbink Feb 19, 2025
f691a8c
Remove panic from Cadence TX (#2153)
jribbink Feb 19, 2025
b010de2
Add WalletConnect support (#2133)
jribbink Feb 21, 2025
e8f5585
Add changesets & enter pre-release mode (#2154)
jribbink Feb 21, 2025
297bb09
Version Packages (cross-vm) (#2155)
github-actions[bot] Feb 21, 2025
2865953
Revert "Version Packages (cross-vm) (#2155)" (#2156)
jribbink Feb 21, 2025
1790278
Version Packages (cross-vm) (#2157)
github-actions[bot] Feb 21, 2025
542b87c
Disable version bump check
jribbink Feb 21, 2025
6836236
Fix tests
jribbink Feb 21, 2025
ea6d6d4
Fix code formatting
jribbink Feb 21, 2025
449d566
Fix gas estimation fallback in `eth_sendTransaction` (#2163)
jribbink Feb 26, 2025
1bdcde3
Version Packages (cross-vm) (#2164)
github-actions[bot] Feb 26, 2025
86bb549
Pin package versions
jribbink Feb 26, 2025
24a39f3
changeset
jribbink Feb 26, 2025
a2dfa38
Version Packages (cross-vm) (#2165)
github-actions[bot] Feb 26, 2025
aa36c67
Fix eth_estimateGas prefixing
jribbink Feb 26, 2025
225a2c2
Version Packages (cross-vm) (#2166)
github-actions[bot] Feb 26, 2025
43e614b
Add a workaround for Flow Wallet injection race condition (#2176)
jribbink Mar 6, 2025
cad30f8
Version Packages (cross-vm) (#2177)
github-actions[bot] Mar 7, 2025
5a76871
Improve Rainbowkit adapter configuration (#2191)
jribbink Mar 7, 2025
ca791c0
Version Packages (cross-vm) (#2193)
github-actions[bot] Mar 7, 2025
c4e49fe
Fix release versions
jribbink Mar 7, 2025
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
5 changes: 5 additions & 0 deletions .changeset/big-ravens-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/fcl-ethereum-provider": patch
---

Fix eth_sendTranscation gas estimation
5 changes: 5 additions & 0 deletions .changeset/few-spiders-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/fcl-ethereum-provider": patch
---

Fix eth_estimateGas prefixing issue
5 changes: 5 additions & 0 deletions .changeset/healthy-beans-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/fcl-rainbowkit-adapter": patch
---

Add workaround for Flow Wallet injected provider race condition
41 changes: 41 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"mode": "pre",
"tag": "cross-vm",
"initialVersions": {
"@onflow/config": "1.5.1",
"@onflow/fcl": "1.13.4",
"@onflow/fcl-bundle": "1.6.0",
"@onflow/fcl-core": "1.13.4",
"@onflow/fcl-ethereum-provider": "0.0.0",
"@onflow/fcl-rainbowkit-adapter": "0.0.0",
"@onflow/fcl-react-native": "1.9.11",
"@onflow/fcl-wagmi-adapter": "0.0.0",
"@onflow/fcl-wc": "5.5.4",
"@onflow/protobuf": "1.3.1",
"@onflow/rlp": "1.2.3",
"@onflow/sdk": "1.5.6",
"@onflow/transport-grpc": "1.4.2-alpha.0",
"@onflow/transport-http": "1.10.5",
"@onflow/typedefs": "1.4.0",
"@onflow/types": "1.4.1",
"@onflow/util-actor": "1.3.4",
"@onflow/util-address": "1.2.3",
"@onflow/util-encode-key": "1.2.4",
"@onflow/util-invariant": "1.2.4",
"@onflow/util-logger": "1.3.3",
"@onflow/util-rpc": "0.0.2",
"@onflow/util-semver": "1.0.3",
"@onflow/util-template": "1.2.3",
"@onflow/util-uid": "1.2.3"
},
"changesets": [
"big-ravens-smell",
"chilled-wombats-reply",
"few-spiders-sneeze",
"healthy-beans-allow",
"shaggy-bats-wink",
"shaggy-carpets-eat",
"spicy-queens-shout",
"thin-lobsters-hope"
]
}
5 changes: 5 additions & 0 deletions .changeset/shaggy-bats-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/fcl-rainbowkit-adapter": minor
---

**BREAKING** Change configuration fields for `createFclConnector`
11 changes: 11 additions & 0 deletions .changeset/shaggy-carpets-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@onflow/fcl-wc": major
"@onflow/fcl-bundle": minor
"@onflow/fcl-core": minor
"@onflow/fcl": minor
"@onflow/fcl-rainbowkit-adapter": patch
"@onflow/fcl-ethereum-provider": patch
"@onflow/fcl-wagmi-adapter": patch
---

FCL Ethereum Provider & Cross VM Support Alpha Release
5 changes: 5 additions & 0 deletions .changeset/spicy-queens-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/fcl-wagmi-adapter": minor
---

**BREAKING** Expose RDNS configuration field for `fclWagmiAdapter`
7 changes: 7 additions & 0 deletions .changeset/thin-lobsters-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@onflow/fcl-rainbowkit-adapter": patch
"@onflow/fcl-ethereum-provider": patch
"@onflow/fcl-wagmi-adapter": patch
---

Pin package versions
12 changes: 9 additions & 3 deletions .github/scripts/prevent-major-bumps.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ for (const packageJson of packageJsons) {
const newVersion = newPackageJson.version

// Get the version from the main branch (or latest release)
const prevPackageJson = JSON.parse(
execSync(`git show origin/master:${packageJson}`).toString()
)
let prevPackageJson
try {
prevPackageJson = JSON.parse(
execSync(`git show origin/master:${packageJson}`).toString()
)
} catch (error) {
console.info("Skipping new package", newPackageName)
continue
}
const prevPackageName = prevPackageJson.name
const prevVersion = prevPackageJson.version

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# https://github.com/changesets/changesets/issues/1011
# https://github.com/changesets/changesets/issues/960
# https://github.com/changesets/changesets/issues/822
- name: Prevent Major Version Bumps
run: node ./.github/scripts/prevent-major-bumps.js
#- name: Prevent Major Version Bumps
# run: node ./.github/scripts/prevent-major-bumps.js

- run: make ci
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- feature/cross-vm

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand Down
Loading