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

eth/tracers/js: goja tracer #23773

Merged
merged 2 commits into from
May 18, 2022
Merged

eth/tracers/js: goja tracer #23773

merged 2 commits into from
May 18, 2022

Commits on May 2, 2022

  1. eth/tracers: add goja tracer engine

    eth/tracers: pass op to step
    
    eth/tracers: uncap field method names
    
    eth/tracers: fill in op methods
    
    eth/tracers: inject biginteger logic
    
    eth/tracers: push bigInt as argument
    
    eth/tracers: add memory wrapper for goja
    
    eth/tracers: add stack wrapper for goja
    
    eth/tracers: add db wrapper for goja
    
    eth/tracers: add contract wrapper for goja
    
    eth/tracers: add log field accessors
    
    eth/tracers: initial impl CaptureState and GetResult
    
    eth/tracers: impl CaptureStart & CaptureEnd
    
    eth/tracers: fixes
    
    eth/tracers: callTracerLegacy tests pass for goja
    
    eth/tracers: avoid ToValue on every step
    
    eth/tracers: avoid Export on every step
    
    eth/tracers: use goja.Object for log
    
    eth/tracers: use nested log fields via goja.Objects
    
    eth/tracers: fill-in missing methods
    
    eth/tracers: pre-compile bigIntegerJS
    
    eth/tracers: mv goja files to js dir
    
    eth/tracers: minor fixes
    
    goja: add stop method
    
    goja: register tracer, re-enable callTracer test
    
    impl CaptureFault
    
    improve err handling
    
    impl CaptureEnter
    
    impl CaptureExit
    
    Add test for call frame tracer goja
    
    Dont trace step when method not exposed
    
    Add license to goja files
    
    Fix nil frame value
    
    minor rename
    
    Impl some go funcs exposed to js env
    
    Make goja ctor private, add stack length method
    
    comment out some goja tests
    
    Test goja via duktape test cases
    
    add tx hooks
    
    update goja
    
    set goja as default for js tracers
    
    minor fix
    
    convert byte arrays to js buffer
    
    rewrite toBuffer
    
    wrap toBig calls
    
    drop unused fn
    
    set up builtins in a separate func
    
    set up converters in separate func
    
    refactor objects passed into js
    
    more refactor
    
    move aux types down in file
    
    move goja tracer struct private
    
    minor cleanups
    
    mv db objects setup
    
    fix buffer returned value from builtins
    
    explicit gas limit for runtime jstracer test
    
    drop deprecated test
    
    test recursion limit only for duktape
    
    drop goja test file
    
    minor
    
    fix console PrettyError test
    
    use goja interrupt
    
    minor
    
    fix halt test cases
    
    fix buf imported into go
    
    fix create2 addr
    s1na committed May 2, 2022
    Configuration menu
    Copy the full SHA
    04d9a7a View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. rewrite fromBuf

    s1na committed May 3, 2022
    Configuration menu
    Copy the full SHA
    4061601 View commit details
    Browse the repository at this point in the history