Skip to content

Sync fuel fork changes#46

Merged
DZakh merged 4 commits into
v2from
dz/sync-fuel-fork-changes
Jun 26, 2024
Merged

Sync fuel fork changes#46
DZakh merged 4 commits into
v2from
dz/sync-fuel-fork-changes

Conversation

@DZakh

@DZakh DZakh commented Jun 25, 2024

Copy link
Copy Markdown
Member

TODO: Also update greeter template

@github-actions

Copy link
Copy Markdown

Here's the diff of the codegen output.🙌🧠🦜


let envio_version = match init_config.ecosystem {
Ecosystem::Fuel { .. } => "1.1.4-fuel".to_string(),
Ecosystem::Fuel { .. } => "2.0.0-fuel".to_string(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 💪

@JasoonS JasoonS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LFG (meaning Lets F*#ng Go, but also Looks F-ing Good ;) )

@DZakh DZakh merged commit 172a2a7 into v2 Jun 26, 2024
DZakh added a commit that referenced this pull request Jun 26, 2024
* Update rescript version and clean up HyperSync client

* Update scenarios and remove -with-deps

* Refactor context types using unified type

Remove line

Remove double definition

* Remove unused ethers type and converters

* Fix broken tests and remove not useful ones

* Remove all references to required_entities

* Run formatter

* Refactor in memory store

Remove additional entityName definition

* Add entityId to entityUpdate record to remove need for passing id

* Apply review comments

* Fix genType errors

* Fix tests

* Initial implementation of v2

* Fix testing frame work

Remove hardcoding of async getters

* Add node util inspect for debugging

* Fix dynamic contract registration flow

* Migrate test_codegen handlers to v2 and fix tests

Fix big decimal test

* Remove Event Contract and Entity suffixes from codegen names

* Rename loadLayer type and constructor

* Rename enum type to t and unify enum logic

* Rename preLoader to loader

* Remove fn from register types and add more register apis

* Update api to contractRegister with separate function

* Update all evm templates for V2

* Remove contract suffix from templates

* Remove entity suffix from types in templates

* Update swap and dynamic contract handlers

* Do not rely on api keys for contract verifycation but keep them as a fallback

* Completely remove API tokens - allow users to add their own api tokens
if the have one.

* Neaten up contract import templates

* Dz/merge v1.3 (#44)

* [V1] Remove EventSummary from init template (#34)

* Remove EventSummary from init template

* Revert the code which I shouldn't remove

* Do not rely on api keys for contract verifycation but keep them as a fallback

* Completely remove API tokens - allow users to add their own api tokens
if the have one.

* Dz/fuel contract import 5 (#43)

* Prompt to get a single fuel contract

* A semi-working contract import for Fuel

* Fix contract import templates for Fuel

* Vendor Fuel abi

* Fix evm indexer

* Fix rescript_types tests

* Human readable names for Fuel logs

* Support setting only one log_id per event

* Events selection

* Add shared_prompts mod

* Prompt multiple contracts for Fuel

* Refactor prompt_to_continue_adding to reuse for multiple ecosystems

* Fix event_name index

* Add first non-etherscan contract verification

* Remove unused block

* Remove Addresses import from Test file

---------

Co-authored-by: Jason <jason@envio.dev>

---------

Co-authored-by: Jason <jason@envio.dev>

* Allow creating an index on 'db_write_timestamp' to allow polling queries to be quicker

* Sync fuel fork changes (#46)

* Sync Fuel fork changes

* Update fuel fork version

* Apply latest fuel fork changes

* Update Greeter on Fuel template

---------

Co-authored-by: Dmitry Zakharov <dzakh.dev@gmail.com>
Co-authored-by: Jason <jason@envio.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants