Giter Club home page Giter Club logo

swoosh's People

Contributors

iankmm avatar nathanliow avatar shivabalanb avatar sreeduggirala avatar surya-sunkari avatar

Watchers

 avatar

Forkers

shivabalanb

swoosh's Issues

accept() overflow/underflow

[⠢] Compiling...
[⠒] Compiling 1 files with 0.8.23Compiler run successful!
[⠑] Compiling 1 files with 0.8.23
[⠘] Solc 0.8.23 finished in 1.42s

Running 5 tests for test/Swoosh.t.sol:SwooshTest
[FAIL. Reason: panic: arithmetic underflow or overflow (0x11)] testAccept() (gas: 234665)
Traces:
[234665] SwooshTest::testAccept()
├─ [0] VM::stopPrank()
│ └─ ← ()
├─ [0] VM::startPrank(0x8B603f2890694cF31689dFDA28Ff5e79917243e9)
│ └─ ← ()
├─ [0] VM::deal(0x8B603f2890694cF31689dFDA28Ff5e79917243e9, 100)
│ └─ ← ()
├─ [218993] Swoosh::request([0x9fEF0fD65A488D806b6433186A117e8Ac9a775DF], 1, "hi", "")
│ └─ ← ()
├─ [3049] Swoosh::getRequestsOut(0x9fEF0fD65A488D806b6433186A117e8Ac9a775DF) [staticcall]
│ └─ ← []
└─ ← panic: arithmetic underflow or overflow (0x11)

[PASS] testDeposit() (gas: 38978)
[PASS] testPay() (gas: 234087)
[PASS] testRequest() (gas: 265457)
[PASS] testWithdraw() (gas: 48482)
Test result: FAILED. 4 passed; 1 failed; 0 skipped; finished in 1.06ms

Ran 1 test suites: 4 tests passed, 1 failed, 0 skipped (5 total tests)

Failing tests:
Encountered 1 failing test in test/Swoosh.t.sol:SwooshTest
[FAIL. Reason: panic: arithmetic underflow or overflow (0x11)] testAccept() (gas: 234665)

Encountered a total of 1 failing tests, 4 tests succeeded

Quicknode QuickAlerts integration

push notifications for on-chain events

  • pay()
  • request()
  • accept()
  • reject()
  • nudge() - to be added

if time permits, withdraw() and deposit()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.