fix: running `pnpm test` fails when inside sdk package
Closed this issue · 1 comments
jonathandiep commented
Is there an existing issue for this?
- I have searched the existing issues
Package Version
0.0.0-alpha.15
Current Behavior
I'm trying to run pnpm test
inside of packages/sdk
but get an issue
Running from the root works fine
Expected Behavior
No response
Steps To Reproduce
Commands that I am running
cd packages/sdk
pnpm test
Error that pops up:
pnpm test
> @boostxyz/sdk@0.0.0-alpha.15 test /Users/jon/boost-protocol/packages/sdk
> vitest dev
DEV v2.1.1 /Users/jon/boost-protocol/packages/sdk
stderr thread 'tokio-runtime-worker' panicked at /Users/runner/work/edr/edr/crates/edr_evm/src/blockchain/remote.rs:232:14:
Must be present as this is not a pending block
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Test Files no tests
Tests no tests
Start at 14:27:46
Duration 2.60s (transform 377ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms)
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
<Buffer 74 68 72 65 61 64 20 27 74 6f 6b 69 6f 2d 72 75 6e 74 69 6d 65 2d 77 6f 72 6b 65 72 27 20 70 61 6e 69 63 6b 65 64 20 61 74 20 2f 55 73 65 72 73 2f 72 ... 192 more bytes, stacks: []>
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { '0': 116, '1': 104, '2': 114, '3': 101, '4': 97, '5': 100, '6': 32, '7': 39, '8': 116, '9': 111, '10': 107, '11': 105, '12': 111, '13': 45, '14': 114, '15': 117, '16': 110, '17': 116, '18': 105, '19': 109, '20': 101, '21': 45, '22': 119, '23': 111, '24': 114, '25': 107, '26': 101, '27': 114, '28': 39, '29': 32, '30': 112, '31': 97, '32': 110, '33': 105, '34': 99, '35': 107, '36': 101, '37': 100, '38': 32, '39': 97, '40': 116, '41': 32, '42': 47, '43': 85, '44': 115, '45': 101, '46': 114, '47': 115, '48': 47, '49': 114, '50': 117, '51': 110, '52': 110, '53': 101, '54': 114, '55': 47, '56': 119, '57': 111, '58': 114, '59': 107, '60': 47, '61': 101, '62': 100, '63': 114, '64': 47, '65': 101, '66': 100, '67': 114, '68': 47, '69': 99, '70': 114, '71': 97, '72': 116, '73': 101, '74': 115, '75': 47, '76': 101, '77': 100, '78': 114, '79': 95, '80': 101, '81': 118, '82': 109, '83': 47, '84': 115, '85': 114, '86': 99, '87': 47, '88': 98, '89': 108, '90': 111, '91': 99, '92': 107, '93': 99, '94': 104, '95': 97, '96': 105, '97': 110, '98': 47, '99': 114, '100': 101, '101': 109, '102': 111, '103': 116, '104': 101, '105': 46, '106': 114, '107': 115, '108': 58, '109': 50, '110': 51, '111': 50, '112': 58, '113': 49, '114': 52, '115': 58, '116': 10, '117': 77, '118': 117, '119': 115, '120': 116, '121': 32, '122': 98, '123': 101, '124': 32, '125': 112, '126': 114, '127': 101, '128': 115, '129': 101, '130': 110, '131': 116, '132': 32, '133': 97, '134': 115, '135': 32, '136': 116, '137': 104, '138': 105, '139': 115, '140': 32, '141': 105, '142': 115, '143': 32, '144': 110, '145': 111, '146': 116, '147': 32, '148': 97, '149': 32, '150': 112, '151': 101, '152': 110, '153': 100, '154': 105, '155': 110, '156': 103, '157': 32, '158': 98, '159': 108, '160': 111, '161': 99, '162': 107, '163': 10, '164': 110, '165': 111, '166': 116, '167': 101, '168': 58, '169': 32, '170': 114, '171': 117, '172': 110, '173': 32, '174': 119, '175': 105, '176': 116, '177': 104, '178': 32, '179': 96, '180': 82, '181': 85, '182': 83, '183': 84, '184': 95, '185': 66, '186': 65, '187': 67, '188': 75, '189': 84, '190': 82, '191': 65, '192': 67, '193': 69, '194': 61, '195': 49, '196': 96, '197': 32, '198': 101, '199': 110, '200': 118, '201': 105, '202': 114, '203': 111, '204': 110, '205': 109, '206': 101, '207': 110, '208': 116, '209': 32, '210': 118, '211': 97, '212': 114, '213': 105, '214': 97, '215': 98, '216': 108, '217': 101, '218': 32, '219': 116, '220': 111, '221': 32, '222': 100, '223': 105, '224': 115, '225': 112, '226': 108, '227': 97, '228': 121, '229': 32, '230': 97, '231': 32, '232': 98, '233': 97, '234': 99, '235': 107, '236': 116, '237': 114, '238': 97, '239': 99, '240': 101, '241': 10 }
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response
jonathandiep commented
Runs ok in alpha.16!