Skip to content

Commit

Permalink
Merge pull request #42 from mboben/main
Browse files Browse the repository at this point in the history
Updated README.md and fixed localflare deployment
  • Loading branch information
mboben authored Nov 22, 2024
2 parents 6a944a8 + 534390e commit 6cddc4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# go-flare

go-flare is a modified version of [[email protected]](https://github.com/ava-labs/avalanchego/releases/tag/v1.7.18) + [[email protected]](https://github.com/ava-labs/coreth/releases/tag/v0.11.0) that incorporates the Flare Specific Features such as Prioritized contract handling and invoking Flare daemon contract.

This code also supports Songbird Network (and Coston testnet) node deployment from the version v0.6.6 onward.
go-flare is a modified version of [[email protected]](https://github.com/ava-labs/avalanchego/releases/tag/v1.9.0) and [[email protected]](https://github.com/ava-labs/coreth/releases/tag/v0.11.0), incorporating specific features for Flare and Songbird networks. These features include prioritized contract handling and the invocation of the daemon contract.

All nodes should upgrade to the version 1.9.0 **before the following dates**:
- Coston2 network: November 26, 2024 at 12:00:00 UTC
Expand Down
2 changes: 1 addition & 1 deletion coreth/core/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,7 @@ func validateTxData(tx *types.Transaction) error {
}
}
// Check if transaction is on allow list for FTSO v1 contract
if *to == prioritisedFTSOContractAddress && (tx.ChainId().Cmp(params.FlareChainID) == 0 || tx.ChainId().Cmp(params.CostwoChainID) == 0) || tx.ChainId().Cmp(params.LocalFlareChainID) == 0 {
if *to == prioritisedFTSOContractAddress && (tx.ChainId().Cmp(params.FlareChainID) == 0 || tx.ChainId().Cmp(params.CostwoChainID) == 0 || tx.ChainId().Cmp(params.LocalFlareChainID) == 0) {
isValidDaemon := checkDataPrefix(tx.Data(), prioritisedFTSOContractDataPrefixesFlareNetworks)
additionalAllowedMethodIdentifiers := [][4]byte{
{0x67, 0xfc, 0x40, 0x29}, // cancelGovernanceCall
Expand Down

0 comments on commit 6cddc4e

Please sign in to comment.