Skip to main content
Best practices
0 votes
0 replies
101 views

I have a question about messaging in our system. We have three services: Order, Cart, and Monitoring. We usually work with communication in such a way that each project has its own contracts, and ...
pietro's user avatar
  • 231
Best practices
1 vote
3 replies
117 views

I have a question about sharing contracts between services using a message broker (more specifically, Azure Service Bus). I searched for it in various articles and asked a chatbot, but I didn't get a ...
pietro's user avatar
  • 231
0 votes
1 answer
51 views

I’ve deployed two contracts for a token sale system on BSC Testnet: TestUSDT: https://testnet.bscscan.com/address/0xD93221735d2323a7ddca9e82d0EF44040C570848#readContract (Mock USDT) APTToken: https://...
Karan Rawat's user avatar
0 votes
1 answer
61 views

Here is a question from a coding interview. I am just wondering what would be the major pitfall in this small smart contract in your opinion: // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; ...
Tony Nagy's user avatar
0 votes
1 answer
241 views

I have a consumer CI which fails on merge request to main if verification test fails in provider's main branch. I also have a provider CI which will fail if the verification tests against the main ...
John Doe's user avatar
4 votes
1 answer
374 views

Consider the following Kotlin code which overloads Reader.useLines(). The 1st extension merely invokes Reader.useLines() and has an exactly the same contract, the 2nd one filters the line sequence ...
Андрей Щеглов's user avatar
1 vote
0 answers
309 views

Must you use a macro to wrap this (plus hope whoever uses your code years later knows to pass -D USE_CONTRACTS,) such as /* Licenses: allows all uses ("Creative Commons"/"Apache 2")...
A Pacific Spammer's user avatar
0 votes
1 answer
114 views

I have a solidity contract running on the sepolia testnet, that is just registering and fetching users. Apparently the register part works right, but the getAllUsers() part which is supposed to fetch ...
Arnav Deo's user avatar
3 votes
1 answer
84 views

Based on this answer I wanted to create an infix version of a function which checks a variable type. However, it seems to be ignored by the compiler. Please see the example code: @OptIn(...
java.is.for.desktop's user avatar
0 votes
1 answer
89 views

during clarinet contract test if i am trying to give command like clarinet.test it is throwing error like below. Can any one advise me to solve this issue? Please refer below image and advise enter ...
phanikumar's user avatar
2 votes
2 answers
1k views

I want to get a price of token in uniswapV3 pair. As example, i have pair https://etherscan.io/address/0x409634ea16d98b0b245f345079c8f3cfe3ef1fa6. Result of calling slot0() is [...
Владислав Сизов's user avatar
-1 votes
1 answer
84 views

I want to create a contract where users can deposit balances into the contract. And when the user deposit, contract owner can withdraw that balances from contract meaning transfer that balance to ...
godisgay's user avatar
0 votes
1 answer
248 views

I have a strange issue, I am creating a 2nd pact for consumer A, the first provider is B, and now I just uploaded the pact for provider C. The issue is that although I see the pact on the UI, when the ...
Allan Noguera's user avatar
1 vote
1 answer
164 views

I new pact testing, I have a pact consumer test in which a property can have any value from a defined set of string: this.pact .ExpectsToReceive("an event indicating that an order has ...
User3250's user avatar
  • 3,463
0 votes
1 answer
3k views

sending transaction, error occured. Eip838ExecutionError: execution reverted: Ownable: caller is not the owner innerError: [Eip838ExecutionError: execution reverted: Ownable: caller is not the owner] {...
ggrrm's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
32