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

Tx events empty #84

Open
utgarda opened this issue Oct 19, 2024 · 2 comments
Open

Tx events empty #84

utgarda opened this issue Oct 19, 2024 · 2 comments

Comments

@utgarda
Copy link
Contributor

utgarda commented Oct 19, 2024

Gateway returns empty events for every order placed, delegated subaccount 1,

docker inspect gateway-1
[
    {
        "Created": "2024-10-19T14:29:45.165258976Z",
        "Path": "/bin/drift-gateway",
        "Args": [
            "--host",
            "0.0.0.0",
            "--tx-commitment",
            "processed",
            "--skip-tx-preflight",
            "https://mainnet.helius-rpc.com/?api-key=27428150-2aee-44d7-a016-6a465d22f926",
            "--delegate",
            "A48rDdnMuQicdLfcBiX1NDwRSPRkFQhpMSqbkA7ByFQt",
            "--verbose"
        ],
        "State": {
            "Status": "running"            

...
            "Image": "ghcr.io/drift-labs/gateway:latest",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": [
                "/bin/drift-gateway"
            ],

            "Labels": {
                "com.docker.compose.image": "sha256:0baec4a2ecd7e0dbaab5e33e1f5110298dd6ae7c36573e9919abb9c330d6292e",
GET /v2/transactionEvent/3Y1PLSTTdPEaBrt7dZWtXs82GYDef3Dx85fHr7w5NDrLvyseopCs72FybU1rRgc21tNxcyqp8eGt52mvHaGH86WD?subAccountId=1 HTTP/1.1

3Y1PLSTTdPEaBrt7dZWtXs82GYDef3Dx85fHr7w5NDrLvyseopCs72FybU1rRgc21tNxcyqp8eGt52mvHaGH86WD gateway response: <Response [200 OK]>

3Y1PLSTTdPEaBrt7dZWtXs82GYDef3Dx85fHr7w5NDrLvyseopCs72FybU1rRgc21tNxcyqp8eGt52mvHaGH86WD status: {'events': []}

Same for non-delegated trading

@jordy25519
Copy link
Collaborator

in this case the tx confirmed but didn't place any orders / errorerd.
maybe the response could make that clearer?

@utgarda
Copy link
Contributor Author

utgarda commented Nov 27, 2024

Indeed, that would be helpful. That happens quite a lot, how do I see tx results?

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

No branches or pull requests

2 participants